X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Frules;h=947d2a1c7b50c66a6749a061e5ab2db070d72fd1;hb=c00238e264f9b353012f4cd0a8fa09916b6e4fae;hp=f8869418b694b5aa1c7ba1e5828a4eb18e5d9716;hpb=df1906dbe2c8ab01af53ec5fb6cb70230e076412;p=pkg%2Ft-prot.git diff --git a/debian/rules b/debian/rules index f886941..947d2a1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # debian/rules for t-prot package # Copyright 2002-2009 by Gerfried Fuchs -# Licenced BSD style +# Licenced under WTFPLv2 PKG = t-prot TMP = $(CURDIR)/debian/$(PKG) @@ -13,16 +13,14 @@ INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755 INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 -include /usr/share/quilt/quilt.make - -clean: unpatch +clean: $(checkdir) $(checkroot) -rm -rf $(TMP) debian/files build-stamp build-stamp: build -build: patch +build: # uhm, build for a binary-indep package? Don't try to be funny ;) touch build-stamp @@ -50,7 +48,7 @@ install: build $(INSTALL_FILE) TODO README $(TMP)/usr/share/doc/$(PKG) #$(INSTALL_FILE) contrib/README.patches contrib/t-prot-r*-gol.diff \ - # contrib/t-prot-r*-indentms.diff \ + # \ # $(TMP)/usr/share/doc/$(PKG)/contrib $(INSTALL_FILE) contrib/filter_innd.pl contrib/README.examples \ $(TMP)/usr/share/doc/$(PKG)/examples @@ -65,11 +63,11 @@ binary-indep: build install $(checkroot) $(INSTALL_DIR) $(TMP)/DEBIAN $(INSTALL_FILE) debian/copyright debian/README.Debian \ - debian/NEWS.Debian $(TMP)/usr/share/doc/$(PKG) + $(TMP)/usr/share/doc/$(PKG) $(INSTALL_FILE) debian/changelog \ $(TMP)/usr/share/doc/$(PKG)/changelog.Debian cd $(TMP)/usr/share/doc/$(PKG) && gzip -9 \ - changelog.Debian NEWS.Debian + changelog.Debian $(INSTALL_SCRIPT) debian/postinst debian/postrm debian/config \ $(TMP)/DEBIAN po2debconf debian/templates > $(TMP)/DEBIAN/templates @@ -81,11 +79,11 @@ binary-indep: build install dpkg --build $(TMP) .. -binary-arch: build install +binary-arch: # We have nothing to do here. -binary: binary-indep binary-arch +binary: binary-indep define checkdir