summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-10-30 15:55:25 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-10-30 15:55:25 +0000
commitda6f75fb8edd4a24655bd1ae5c3e71ab24ba30f2 (patch)
tree6525df6520ce731a7840b1fc9307d3ed5af87695 /Makefile
parent11445603e0800b13f2489f8bc3cc3af1fb00d7b4 (diff)
downloadabuild-da6f75fb8edd4a24655bd1ae5c3e71ab24ba30f2.tar.gz
abuild-da6f75fb8edd4a24655bd1ae5c3e71ab24ba30f2.tar.bz2
abuild-da6f75fb8edd4a24655bd1ae5c3e71ab24ba30f2.tar.xz
abuild-da6f75fb8edd4a24655bd1ae5c3e71ab24ba30f2.zip
install APKBUILD.proto
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e066e35..d5da5a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
PACKAGE=abuild
VERSION=0.3
-DISTFILES=Makefile abuild abuild.conf
+DISTFILES=Makefile abuild abuild.conf APKBUILD.proto
prefix ?= /usr
sysconfdir ?= /etc
@@ -13,10 +13,12 @@ help:
@echo "usage: make install [ DESTDIR=<path> ]"
@echo " make dist"
-install:
- mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir)
+install: abuild abuild.conf APKBUILD.proto
+ mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \
+ $(DESTDIR)/$(prefix)/share/abuild
cp abuild $(DESTDIR)/$(prefix)/bin/
cp abuild.conf $(DESTDIR)/$(sysconfdir)/
+ cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild
dist: $(P).tar.gz