X-Git-Url: https://git.deb.at/w?p=pkg%2Fnetris.git;a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=38168531204b4e0aea0cea353962e0288013e7a5;hp=3267cbb325f52ca981fed58b37bdf40b4c030083;hb=6b1f6251013f5cf018e37ec7e67fe629a7f34455;hpb=da700cc38a5353b929f60a7ba2a1f19b5d640eb9 diff --git a/debian/rules b/debian/rules index 3267cbb..3816853 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f # rules file for netris +# copyright 2002++ by Gerfried Fuchs +# Licenced the same way as netris itself COPT = -g INSTALL = install @@ -18,17 +20,19 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) endif -clean: +include /usr/share/quilt/quilt.make + +clean: unpatch $(checkdir) $(checkroot) -rm -rf debian/netris debian/substvars debian/files \ build-stamp install-stamp config.h .depend - -$(MAKE) clean + [ ! -f Makefile ] || $(MAKE) clean -rm -rf Makefile build: build-stamp -build-stamp: +build-stamp: patch $(checkdir) ./Configure -g $(MAKE) COPT="$(COPT)"