- Remove all modified generated files on debian/rules clean.
- Depend on $(QUILT_STAMPFN) instead of patch.
- Use touch $@ to create stamp files.
- Use a stamp file for the module's install target.
- Better fileserver host tracking.
- Ubik fixes preventing database truncation on unreliable links.
* Update doc-base control file sections for the new categorization.
- * Remove all modified generated files on debian/rules clean.
+ * debian/rules and debian/module/rules improvements:
+ - Remove all modified generated files on debian/rules clean.
+ - Depend on $(QUILT_STAMPFN) instead of patch.
+ - Use touch $@ to create stamp files.
+ - Use a stamp file for the module's install target.
-- Russ Allbery <rra@debian.org> Mon, 03 Mar 2008 18:49:17 -0800
--with-linux-kernel-headers=$(KSRC) --prefix=`pwd`/debian/tmp \
--enable-debug --enable-lwp-debug --enable-kernel-debug \
$(DEBIAN_OPT_FLAGS) $(DEBIAN_KERN_FLAGS)
- touch configure-stamp
+ touch $@
build: build-arch build-indep
-build-arch: build-arch-stamp
+build-arch: build-stamp
build-indep:
-build-arch-stamp: configure-stamp
+build-stamp: configure-stamp
make only_libafs
- touch build-arch-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
- rm -f build-arch-stamp configure-stamp
+ rm -f install-stamp build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
-install: build-arch-stamp
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
-a ! -f $(moduledir)/openafs.mp.o ; then \
ln $(moduledir)/openafs.o $(moduledir)/openafs.mp.o || exit 1 ; \
fi
+ touch $@
binary: binary-arch binary-indep
binary-indep:
-binary-arch: install
+binary-arch: install-stamp
dh_testdir
dh_testroot
dh_installchangelogs NEWS
kdist_configure: configure-stamp
-kdist_image: build-arch-stamp
+kdist_image: build-stamp
$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary-arch
$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules clean
-kdist: build-arch-stamp
+kdist: build-stamp
$(ROOT_CMD) $(MAKE) $(MFLAGS) -f debian/rules binary-arch
KSRC="$(KSRC)" KMAINT="$(KMAINT)" KEMAIL="$(KEMAIL)" \
sh -v debian/genchanges
gzip -9 openafs_$(DEBVERS).orig.tar
configure: configure-stamp
-configure-stamp: patch
+configure-stamp: $(QUILT_STAMPFN)
@if test x"$(SYS_NAME)" = x"UNKNOWN" ; then exit 1 ; fi
dh_testdir
sh regen.sh
--enable-bos-new-config \
--enable-debug --enable-lwp-debug \
$(DEBIAN_OPT_FLAGS) $(SYSTEM)
- chmod a+x src/libafs/make_kbuild_makefile.pl
- touch configure-stamp
+ chmod a+x src/libafs/make_kbuild_makefile.pl
+ touch $@
build: build-arch build-indep
build-arch: configure-stamp build-stamp
mkdir -p $(CURDIR)/debian/tmp
$(MAKE) install_nolibafs DESTDIR=$(CURDIR)/debian/tmp
chmod +x debian/afs-rootvol debian/afs-newcell
- touch build-stamp
+ touch $@
clean: unpatch
dh_testdir
afs-newcell ) \
>debian/openafs-dbserver/usr/share/man/man8/afs-newcell.8
- touch install-stamp
+ touch $@
# Rules for building the openafs-modules-source package.
binary-source: