diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-20 13:36:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-02-20 13:36:33 +0000 |
commit | 90652d1401e5c121a5f604c08eb0054b80d961ea (patch) | |
tree | fb902e9766873d7921c388d9b2184f2fa25e29b5 /Makefile | |
parent | 37ebdc1a7a206ec13f7e1f439dec585833394c3c (diff) | |
download | alpine-conf-90652d1401e5c121a5f604c08eb0054b80d961ea.zip |
make dist generate tar.bz2
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2,7 +2,7 @@ V=2.0_alpha1 P=alpine-conf PV=$(P)-$(V) APKF=$(PV).apk -TARGZ=$(PV).tar.gz +TARBZ2=$(PV).tar.bz2 PREFIX?=/usr TMP=$(PV) @@ -30,7 +30,7 @@ DIST_FILES=$(LIB_FILES) $(SBIN_FILES) $(ETC_LBU_FILES) $(EXTRA_DIST) DESC="Alpine configuration scripts" WWW="http://alpinelinux.org/alpine-conf" -SHARE_DIR := /usr/share/lbu +SHARE_DIR := share/lbu TAR=tar DB=$(TMP)/var/db/apk/$(PV) @@ -41,7 +41,7 @@ all: apk: $(APKF) -dist: $(TARGZ) +dist: $(TARBZ2) $(APKF): $(SBIN_FILES) rm -rf $(TMP) @@ -52,11 +52,11 @@ $(APKF): $(SBIN_FILES) cd $(TMP) && $(TAR) -czf ../$@ . rm -rf $(TMP) -$(TARGZ): $(DIST_FILES) +$(TARBZ2): $(DIST_FILES) rm -rf $(TMP) mkdir -p $(TMP) cp $(DIST_FILES) $(TMP) - $(TAR) -czf $@ $(TMP) + $(TAR) -cjf $@ $(TMP) rm -rf $(TMP) install: @@ -76,5 +76,5 @@ uninstall: done clean: - rm -rf $(APKF) $(TMP) $(TARGZ) + rm -rf $(APKF) $(TMP) $(TARBZ2) |