summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f833d1e..5ebafc1 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ install:
clean:
rm -f *.o *~ libnss_myhostname.so.2
-nss-myhostname.tar.gz:
+nss-myhostname-$(VERSION).tar.gz:
rm -rf "nss-myhostname-$(VERSION)"
mkdir "nss-myhostname-$(VERSION)"
cp Makefile LICENSE README *.c "nss-myhostname-$(VERSION)"/
@@ -21,12 +21,12 @@ nss-myhostname.tar.gz:
tar czf "nss-myhostname-$(VERSION).tar.gz" "nss-myhostname-$(VERSION)"/
rm -rf "nss-myhostname-$(VERSION)"
-tar: nss-myhostname.tar.gz
+tar: nss-myhostname-$(VERSION).tar.gz
homepage: tar
test -d $$HOME/homepage/private
mkdir -p $$HOME/homepage/private/projects/nss-myhostname
cp nss-myhostname-$(VERSION).tar.gz README $$HOME/homepage/private/projects/nss-myhostname
ln -sf README $$HOME/homepage/private/projects/nss-myhostname/README.txt
-
-.PHONY: clean install tar
+
+.PHONY: clean install tar homepage