Debian Packages can now be created, see #2

This commit is contained in:
Marc Wäckerlin
2010-04-08 07:54:33 +00:00
parent a2d3069b54
commit 287bb27077
7 changed files with 32 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
proxyface (1.0.34-1) unstable; urgency=low
@PACKAGE@ (@VERSION@-1) unstable; urgency=low
* See https://dev.marc.waeckerlin.org/projects/proxyface for changes

18
debian/rules vendored
View File

@@ -34,34 +34,28 @@ major=2
config.status: configure
dh_testdir
# Add here commands to configure the package.
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
cp -f /usr/share/misc/config.guess config.guess
endif
./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)"
# does not work: LDFLAGS="-Wl,-z,defs"
build: build-stamp
build-stamp: config.status
dh_testdir
# Add here commands to compile the package.
$(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || $(MAKE) distclean
[ ! -f [Mm]akefile ] || $(MAKE) distclean
rm -f config.sub config.guess
dh_clean
install: build
@@ -69,8 +63,6 @@ install: build
dh_testroot
dh_prep
dh_installdirs
# Add here commands to install the package into debian/tmp
$(MAKE) prefix=$(CURDIR)/debian/tmp/usr install
@@ -85,7 +77,7 @@ binary-arch: install
dh_installchangelogs ChangeLog
dh_installdocs
dh_installexamples
# dh_install
dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
@@ -95,7 +87,7 @@ binary-arch: install
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman
# dh_installman
dh_link
dh_strip
dh_compress