Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:estellnb:elstel
xchroot
debian.rules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File debian.rules of Package xchroot
#!/usr/bin/make -f #tar -xzf %{source1} VERSION := 2.7.5 SOURCE0 := xchroot-v$(VERSION).tar XTRACT_DIR := xchroot-$(VERSION) #INST_DIR := $(CURDIR)/debian/tmp INST_DIR := $(CURDIR)/debian/xchroot #INST_DIR := $(DESTDIR) MAN_DIR := /usr/share/man DOC_DIR := /usr/share/doc .PHONY: configure build install binary clean build-arach build-indep binary-arch binary-indep configure: echo BUILD_DIR=$(BUILD_DIR) echo INST_DIR=$(INST_DIR) echo "dir:$(XTRACT_DIR)" build: chmod +x xchroot #sed -n '1,8s#^.*(c) copyright by \(Elmar Stellnberger\), the original author: .*, [A-Za-z]\{3\} \(20[0-9]\{2\}\)\s*$$#copyright \2 \1#;T next; h; :next 2,8s#^.*current email: \([a-zA-Z0-9@.]*\);.*$$#<\1>#;T end;H;x;s#\n# #;s#$$#\n#;p; :end' <$(SOURCE0) >debian/copyright22 #./xchroot --license >>debian/copyright22 sed -n '2,/^$$/p' <xchroot | sed 's/^#//' | gzip -cn -9 >changelog.gz gzip -cn -9 <debian/changelog >changelog.Debian.gz sed "s#/usr/share/doc\[/packages\]/xchroot#$(DOC_DIR)/xchroot#" xchroot.8 | gzip -cn -9 >xchroot.8.gz install: mkdir -p $(INST_DIR)/usr/sbin install xchroot $(INST_DIR)/usr/sbin/xchroot mkdir -p $(INST_DIR)$(MAN_DIR)/man8/ install -m 0644 xchroot.8.gz $(INST_DIR)$(MAN_DIR)/man8/ mkdir -p $(INST_DIR)$(DOC_DIR)/xchroot install changelog.gz $(INST_DIR)$(DOC_DIR)/xchroot install changelog.Debian.gz $(INST_DIR)$(DOC_DIR)/xchroot binary: configure build install dh_testdir dh_testroot #dh_installchangelogs ChangeLog.gz dh_fixperms #dh_installman dh_installdocs dh_installdeb dh_md5sums dh_gencontrol dh_builddeb build-arch: configure build build-indep: configure build binary-arch: binary-indep: clean: dh_testdir dh_testroot rm -f xchroot.8.gz changelog.gz dh_clean
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor