summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2007-11-29 04:44:11 +0100
committerAaron Griffin <aaronmgriffin@gmail.com>2007-11-29 04:44:11 +0100
commit4a829ff1f769d785a07fb263f528166ad23a19a8 (patch)
treec01a6dba49839357be99b975c02375ad2418c0f5
parent5472d5ab5adc1267676db046f649aa048c7277a9 (diff)
downloaddevtools-4a829ff1f769d785a07fb263f528166ad23a19a8.tar.gz
devtools-4a829ff1f769d785a07fb263f528166ad23a19a8.tar.xz
Force symlink creation in the install target
Allows us to run 'make install' even if the symlinks exist (helpful for testing locally) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 374890b..efeb46b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,9 @@ install:
mkdir -p $(DESTDIR)/usr/bin
install -m 755 checkpkg $(DESTDIR)/usr/bin
install -m 755 extrapkg $(DESTDIR)/usr/bin
- ln -s extrapkg $(DESTDIR)/usr/bin/corepkg
- ln -s extrapkg $(DESTDIR)/usr/bin/testingpkg
- ln -s extrapkg $(DESTDIR)/usr/bin/unstablepkg
+ ln -sf extrapkg $(DESTDIR)/usr/bin/corepkg
+ ln -sf extrapkg $(DESTDIR)/usr/bin/testingpkg
+ ln -sf extrapkg $(DESTDIR)/usr/bin/unstablepkg
# new chroot tools, only usable by root
mkdir -p $(DESTDIR)/usr/sbin
install -m 755 mkarchroot $(DESTDIR)/usr/sbin