summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDubiousjim <dubiousjim@gmail.com>2013-07-05 00:21:17 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-09 06:58:45 +0000
commit7b2030a06ad926035fabbad64aac4ddeab0bb602 (patch)
tree4bcb0cd4cd2ee6b46aa155ccbaf287d552d411c9 /Makefile
parentdb1314ac55df59e1fbecdae280cf2b4c1784dd5a (diff)
downloadabuild-7b2030a06ad926035fabbad64aac4ddeab0bb602.tar.gz
abuild-7b2030a06ad926035fabbad64aac4ddeab0bb602.tar.bz2
abuild-7b2030a06ad926035fabbad64aac4ddeab0bb602.tar.xz
abuild-7b2030a06ad926035fabbad64aac4ddeab0bb602.zip
Makefile: remove dist
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index cae2a40..23a587c 100644
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,6 @@ AUTOTOOLS_TOOLCHAIN_FILES := config.sub config.guess
SCRIPT_SOURCES := $(addsuffix .in,$(SCRIPTS))
-DISTFILES=$(SCRIPT_SOURCES) $(SAMPLES) Makefile abuild.conf
-
GIT_REV := $(shell test -d .git && git describe || echo exported)
ifneq ($(GIT_REV), exported)
FULL_VERSION := $(patsubst $(PACKAGE)-%,%,$(GIT_REV))
@@ -83,7 +81,6 @@ abuild-tar.static: abuild-tar.o
help:
@echo "$(P) makefile"
@echo "usage: make install [ DESTDIR=<path> ]"
- @echo " make dist"
install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh aports.lua
install -d $(DESTDIR)/$(bindir) $(DESTDIR)/$(sysconfdir) \
@@ -104,15 +101,6 @@ install: $(USR_BIN_FILES) $(SAMPLES) abuild.conf functions.sh aports.lua
mkdir -p $(DESTDIR)$(LUA_SHAREDIR)
cp aports.lua $(DESTDIR)$(LUA_SHAREDIR)/
-dist: $(P).tar.bz2
-
-$(P).tar.bz2: $(DISTFILES)
- rm -rf $(P)
- mkdir -p $(P)
- cp $(DISTFILES) $(P)/
- tar -cjf $@ $(P)
- rm -rf $(P)
-
.gitignore: Makefile
echo "*.tar.bz2" > $@
for i in $(USR_BIN_FILES); do\
@@ -120,4 +108,4 @@ $(P).tar.bz2: $(DISTFILES)
done
-.PHONY: install dist
+.PHONY: install