$(TOPDIR), make: Minor fixes

This commit is contained in:
Jan Lindemann 2002-07-03 20:33:20 +00:00 committed by Jan Lindemann
commit 024bd57875
6 changed files with 23 additions and 24 deletions

View file

@ -73,10 +73,10 @@ cpfiles.dist:
cp $(SRPMS_DIR)/$(notdir $@) $@
$(DIST_PCKG_DIR)/$(PCKG_RPM_RUN_I386) $(DIST_PCKG_DIR)/$(PCKG_RPM_DEVEL_I386): $(DIST_PCKG_DIR)/$(PCKG_TAR)
if [ $< -nt $(RPMS_DIR)/$(notdir $@) ]; then rpm -tb --clean $<; fi
if [ $< -nt $(RPMS_DIR)/$(notdir $@) ]; then rpm -tb $<; fi
cp $(RPMS_DIR)/$(notdir $@) $@
$(DIST_PCKG_DIR)/CURRENT_%:
$(DIST_PCKG_DIR)/CURRENT_%: $(TOPDIR)/VERSION
echo $(CURRENT_$*) > $@