mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-03-11 06:37:31 +00:00
Makefile: remove dist
as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html
This commit is contained in:
parent
db1314ac55
commit
7b2030a06a
14
Makefile
14
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
|
||||
|
Loading…
Reference in New Issue
Block a user