Skip to content
Snippets Groups Projects
Commit ff1781c3 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: read version from abuild. install buildrepo

parent 22cf700b
No related branches found
No related tags found
No related merge requests found
PACKAGE=abuild PACKAGE=abuild
VERSION=0.3 VERSION:=$(shell awk -F= '$$1 == "abuild_ver" {print $$2}' abuild)
DISTFILES=Makefile abuild abuild.conf APKBUILD.proto DISTFILES=Makefile abuild abuild.conf APKBUILD.proto buildrepo
prefix ?= /usr prefix ?= /usr
sysconfdir ?= /etc sysconfdir ?= /etc
...@@ -17,7 +17,7 @@ help: ...@@ -17,7 +17,7 @@ help:
install: abuild abuild.conf APKBUILD.proto functions.sh install: abuild abuild.conf APKBUILD.proto functions.sh
mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \ mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \
$(DESTDIR)/$(datadir) $(DESTDIR)/$(datadir)
cp abuild $(DESTDIR)/$(prefix)/bin/ cp abuild buildrepo $(DESTDIR)/$(prefix)/bin/
cp abuild.conf $(DESTDIR)/$(sysconfdir)/ cp abuild.conf $(DESTDIR)/$(sysconfdir)/
cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild
cp functions.sh $(DESTDIR)/$(datadir)/ cp functions.sh $(DESTDIR)/$(datadir)/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment