summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-20 12:41:39 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-20 12:41:39 +0200
commit9b001033aed89e534a6c7d667326fd45496e9f71 (patch)
tree40f393525ee7b1970cfb7a78b778ebdf38cde457 /Makefile
parentae5083fc118c6a708eec7f7c357ce8363eb2d78a (diff)
downloaddevtools-9b001033aed89e534a6c7d667326fd45496e9f71.tar.xz
Add archbuild helper script to create and build in chroots
This will create chroots on demand if needed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a46eb44..36da3c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-V=0.9.7
+V=0.9.8
all:
@@ -22,7 +22,14 @@ install:
install -d -m 755 $(DESTDIR)/usr/sbin
install -m 755 mkarchroot $(DESTDIR)/usr/sbin
install -m 755 makechrootpkg $(DESTDIR)/usr/sbin
- #Additional packaging helper scripts
+ install -m 755 archbuild $(DESTDIR)/usr/bin
+ ln -sf archbuild $(DESTDIR)/usr/bin/extra-i686-build
+ ln -sf archbuild $(DESTDIR)/usr/bin/extra-x86_64-build
+ ln -sf archbuild $(DESTDIR)/usr/bin/testing-i686-build
+ ln -sf archbuild $(DESTDIR)/usr/bin/testing-x86_64-build
+ ln -sf archbuild $(DESTDIR)/usr/bin/staging-i686-build
+ ln -sf archbuild $(DESTDIR)/usr/bin/staging-x86_64-build
+ # Additional packaging helper scripts
install -m 755 lddd $(DESTDIR)/usr/bin
install -m 755 finddeps $(DESTDIR)/usr/bin
install -m 755 rebuildpkgs $(DESTDIR)/usr/bin
@@ -46,6 +53,12 @@ uninstall:
rm $(DESTDIR)/usr/bin/community-testingpkg
rm $(DESTDIR)/usr/sbin/mkarchroot
rm $(DESTDIR)/usr/sbin/makechrootpkg
+ rm $(DESTDIR)/usr/bin/extra-i686-build
+ rm $(DESTDIR)/usr/bin/extra-x86_64-build
+ rm $(DESTDIR)/usr/bin/testing-i686-build
+ rm $(DESTDIR)/usr/bin/testing-x86_64-build
+ rm $(DESTDIR)/usr/bin/staging-i686-build
+ rm $(DESTDIR)/usr/bin/staging-x86_64-build
rm $(DESTDIR)/usr/bin/lddd
rm $(DESTDIR)/usr/bin/finddeps
rm $(DESTDIR)/usr/bin/archco