mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-24 14:50:38 +01:00
rpmdist.mk: Remove *.dist with clean target, too
This commit is contained in:
parent
284c634338
commit
1539a7f90f
1 changed files with 4 additions and 4 deletions
|
|
@ -47,8 +47,8 @@ SRPMS_DIR = /usr/src/packages/SRPMS
|
||||||
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PCKG_DIR)
|
DIST_DIRS = $(DIST_SRC_DIR) $(DIST_PCKG_DIR)
|
||||||
DIST_PCKG_RPM = $(DIST_PCKG_DIR)/$(PCKG_RPM_RUN_I386) $(DIST_PCKG_DIR)/$(PCKG_RPM_DEVEL_I386)
|
DIST_PCKG_RPM = $(DIST_PCKG_DIR)/$(PCKG_RPM_RUN_I386) $(DIST_PCKG_DIR)/$(PCKG_RPM_DEVEL_I386)
|
||||||
|
|
||||||
clean.dist:
|
rpmclean:
|
||||||
rm -rf $(DIST_SRC_DIR) $(DIST_FILE_TAR)
|
rm -rf $(DIST_SRC_DIR) $(PCKG_TAR) *.dist
|
||||||
|
|
||||||
rsync_ssh\://% ftp\://% scp\://%:
|
rsync_ssh\://% ftp\://% scp\://%:
|
||||||
make $(shell echo $(addprefix $(DIST_PCKG_DIR)/,$(notdir $@)) | sed 's/:.*//g')
|
make $(shell echo $(addprefix $(DIST_PCKG_DIR)/,$(notdir $@)) | sed 's/:.*//g')
|
||||||
|
|
@ -88,8 +88,6 @@ cpfiles.dist:
|
||||||
tar -czvf $@ -C $(dir $(DIST_SRC_DIR)) $(notdir $(DIST_SRC_DIR)) \
|
tar -czvf $@ -C $(dir $(DIST_SRC_DIR)) $(notdir $(DIST_SRC_DIR)) \
|
||||||
$(addprefix --exclude=,$(basename $(shell find . -name *.in | sed 's%\./%%')))
|
$(addprefix --exclude=,$(basename $(shell find . -name *.in | sed 's%\./%%')))
|
||||||
|
|
||||||
bla:
|
|
||||||
|
|
||||||
%.src.rpm: %.tar.gz
|
%.src.rpm: %.tar.gz
|
||||||
rpm -ts $<
|
rpm -ts $<
|
||||||
cp $(SRPMS_DIR)/$(notdir $@) $@
|
cp $(SRPMS_DIR)/$(notdir $@) $@
|
||||||
|
|
@ -123,3 +121,5 @@ ftag.dist:
|
||||||
cvs tag -F $(TAG_VERSION)
|
cvs tag -F $(TAG_VERSION)
|
||||||
|
|
||||||
tgz: $(PCKG_TAR)
|
tgz: $(PCKG_TAR)
|
||||||
|
distclean: rpmclean
|
||||||
|
clean: rpmclean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue