From 90652d1401e5c121a5f604c08eb0054b80d961ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 20 Feb 2009 13:36:33 +0000 Subject: make dist generate tar.bz2 --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8a3d1fe..3eed762 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3