credits rules + remove dpkg-shlibdeps and dpkg-gencontrol

This commit is contained in:
Tru Huynh (pasteur.fr) 2018-03-10 00:32:24 +01:00
parent a73a17d9bb
commit 5e340f7b2e
1 changed files with 1 additions and 7 deletions

8
debian/rules vendored
View File

@ -1,5 +1,5 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# adapted from https://wiki.debian.org/Courses2005/BuildingWithoutHelper
# Name of the package # Name of the package
package=barrier package=barrier
@ -56,12 +56,6 @@ binary-arch: build
$(MAKE_DIR) $(BIN_DIR) $(MAKE_DIR) $(BIN_DIR)
cp build/bin/* $(BIN_DIR) cp build/bin/* $(BIN_DIR)
# Work out the shared library dependancies (thanks Helen)
dpkg-shlibdeps $(BIN_DIR)/*
# Generate the control file (thanks Helen)
dpkg-gencontrol -isp -P$(DESTDIR)
# Make DEBIAN/md5sums (thanks Helen) # Make DEBIAN/md5sums (thanks Helen)
cd $(DESTDIR) && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums cd $(DESTDIR) && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums