From e48c520d54ce487c69105009be0408c9bcf0d6b4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Sat, 3 Jan 2009 10:05:12 +0000 Subject: abuild: move functions to a shared lib --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d5da5a0..af8eb01 100644 --- a/Makefile +++ b/Makefile @@ -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= ]" @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 -- cgit v1.2.3