Explorar o código

Add arch-build target

Matt Zimmerman %!s(int64=21) %!d(string=hai) anos
pai
achega
09c1228132
Modificáronse 2 ficheiros con 9 adicións e 1 borrados
  1. 2 1
      debian/changelog
  2. 7 0
      debian/rules

+ 2 - 1
debian/changelog

@@ -26,8 +26,9 @@ apt (0.5.28) hoary; urgency=low
       packages
     - Patch from Michael Vogt to add an optional cron job which
       can run apt-get update periodically
+  * Add arch-build target to debian/rules
 
- -- Matt Zimmerman <mdz@canonical.com>  Sat, 13 Nov 2004 15:31:45 -0800
+ -- Matt Zimmerman <mdz@debian.org>  Sat, 13 Nov 2004 15:52:20 -0800
 
 apt (0.5.27) unstable; urgency=high
 

+ 7 - 0
debian/rules

@@ -326,3 +326,10 @@ cvs-build:
 cvs-mkul:
 	-mkdir -p ../upload-$(APT_DEBVER)
 	cp `find debian/cvs-build -maxdepth 1 -type f` ../upload-$(APT_DEBVER)
+
+arch-build:
+	rm -rf debian/arch-build
+	mkdir -p debian/arch-build/apt-$(APT_DEBVER)
+	tla inventory -s | xargs cp -a --parents --target=debian/arch-build/apt-$(APT_DEBVER)
+	$(MAKE) -C debian/arch-build/apt-$(APT_DEBVER) startup doc
+	(cd debian/arch-build/apt-$(APT_DEBVER); $(DEB_BUILD_PROG))