diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -5,6 +5,7 @@ DISTFILES=Makefile abuild abuild.conf APKBUILD.proto prefix ?= /usr sysconfdir ?= /etc +datadir ?= $(prefix)/share/$(PACKAGE) P=$(PACKAGE)-$(VERSION) @@ -13,12 +14,13 @@ help: @echo "usage: make install [ DESTDIR=<path> ]" @echo " make dist" -install: abuild abuild.conf APKBUILD.proto +install: abuild abuild.conf APKBUILD.proto functions.sh mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \ - $(DESTDIR)/$(prefix)/share/abuild + $(DESTDIR)/$(datadir) cp abuild $(DESTDIR)/$(prefix)/bin/ cp abuild.conf $(DESTDIR)/$(sysconfdir)/ cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild + cp functions.sh $(DESTDIR)/$(datadir)/ dist: $(P).tar.gz |