CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
added pkgadd/pkginfo symlinks to avoid using host binaries before cross-binaries
authorJose V Beneyto <sepen@crux.nu>
Tue, 9 Mar 2010 07:57:40 +0000 (08:57 +0100)
committerJose V Beneyto <sepen@crux.nu>
Tue, 9 Mar 2010 07:57:40 +0000 (08:57 +0100)
Makefile

index 81a024cc510be23d845b4b97ab6f748c1e89a777..29d6927587da80222df0b248658180928ea05b41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 # Makefile
 #
 
-all: src/pkgmk.conf src/pkgmk
+all: src/pkgmk.conf src/pkgmk pkginfo pkgadd
 
 src/pkgmk:
        @if grep -e ubuntu /proc/version >/dev/null; then \
@@ -12,8 +12,15 @@ src/pkgmk:
        fi
        @chmod a+x src/pkgmk
 
+pkginfo:
+       @ln -s src/pkgadd pkginfo
+
+pkgadd:
+       @ln -s src/pkgadd pkgadd
+
 clean:
        @make -C src clean
+       @rm -f pkginfo pkgadd
 
 distclean:
        @make -C src distclean