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/ ...@@ -5,11 +5,13 @@ CONFDIR = /etc/
PROTOTYPEDIR = /usr/share/pacman/ PROTOTYPEDIR = /usr/share/pacman/
DESTDIR = $$PWD DESTDIR = $$PWD
.PHONY: prepare
prepare: prepare:
sed -i -e 's#%%ABS_VERSION%%#$(ABS_VERSION)#g' \ sed -i -e 's#%%ABS_VERSION%%#$(ABS_VERSION)#g' \
-e 's#%%CONF_DIR%%#$(CONFDIR)#g' \ -e 's#%%CONF_DIR%%#$(CONFDIR)#g' \
abs makeworld scripts/svn2abs abs makeworld scripts/svn2abs
.PHONY: install
install: install:
# install the scripts # install the scripts
mkdir -p $(DESTDIR)$(BINDIR) mkdir -p $(DESTDIR)$(BINDIR)
...@@ -36,6 +38,7 @@ install: ...@@ -36,6 +38,7 @@ install:
install -m 644 prototypes/proto-info.install $(DESTDIR)$(PROTOTYPEDIR) install -m 644 prototypes/proto-info.install $(DESTDIR)$(PROTOTYPEDIR)
install -m 644 prototypes/rc-script.proto $(DESTDIR)$(PROTOTYPEDIR) install -m 644 prototypes/rc-script.proto $(DESTDIR)$(PROTOTYPEDIR)
.PHONY: uninstall
uninstall: uninstall:
rm $(DESTDIR)$(BINDIR)/abs rm $(DESTDIR)$(BINDIR)/abs
rm $(DESTDIR)$(BINDIR)/makeworld rm $(DESTDIR)$(BINDIR)/makeworld
...@@ -56,6 +59,7 @@ uninstall: ...@@ -56,6 +59,7 @@ uninstall:
rm $(DESTDIR)$(PROTOTYPEDIR)/proto-info.install rm $(DESTDIR)$(PROTOTYPEDIR)/proto-info.install
rm $(DESTDIR)$(PROTOTYPEDIR)/rc-script.proto rm $(DESTDIR)$(PROTOTYPEDIR)/rc-script.proto
.PHONY: release
release: release:
mkdir -p $(BUILDDIR)/abs mkdir -p $(BUILDDIR)/abs
cp Makefile $(BUILDDIR)/abs/ cp Makefile $(BUILDDIR)/abs/
......
Supports Markdown
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