Commit ccdbc716 authored by matt mooney's avatar matt mooney Committed by Allan McRae
Browse files

Makefile: make all targets phony


Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
parent 71a7e9fb
......@@ -5,11 +5,13 @@ CONFDIR = /etc/
PROTOTYPEDIR = /usr/share/pacman/
DESTDIR = $$PWD
.PHONY: prepare
prepare:
sed -i -e 's#%%ABS_VERSION%%#$(ABS_VERSION)#g' \
-e 's#%%CONF_DIR%%#$(CONFDIR)#g' \
abs makeworld scripts/svn2abs
.PHONY: install
install:
# install the scripts
mkdir -p $(DESTDIR)$(BINDIR)
......@@ -36,6 +38,7 @@ install:
install -m 644 prototypes/proto-info.install $(DESTDIR)$(PROTOTYPEDIR)
install -m 644 prototypes/rc-script.proto $(DESTDIR)$(PROTOTYPEDIR)
.PHONY: uninstall
uninstall:
rm $(DESTDIR)$(BINDIR)/abs
rm $(DESTDIR)$(BINDIR)/makeworld
......@@ -56,6 +59,7 @@ uninstall:
rm $(DESTDIR)$(PROTOTYPEDIR)/proto-info.install
rm $(DESTDIR)$(PROTOTYPEDIR)/rc-script.proto
.PHONY: release
release:
mkdir -p $(BUILDDIR)/abs
cp Makefile $(BUILDDIR)/abs/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment