### brute force clean
distclean1:
- rm -rf pldistro.mk .rpmmacros spec2make SPECS MAKE
+ rm -rf pldistro.mk .rpmmacros spec2make header.spec SPECS MAKE
distclean2:
rm -rf CODEBASES SOURCES BUILD RPMS SRPMS tmp
distclean: distclean1 distclean2
@$(foreach package,$(ALL), echo package=$(package) ref_module=$($(package).module) modules=$($(package)-MODULES); )
modules:
- @$(foreach module,$(ALL-MODULES), echo modules=$(module) svnpath=$($(module)-SVNPATH); )
+ @$(foreach module,$(ALL-MODULES), echo module=$(module) svnpath=$($(module)-SVNPATH); )
branches:
@$(foreach module,$(ALL-MODULES), \
module-tools:
@$(foreach module,$(ALL-MODULES), \
- echo $(module); \
- $(if $($(module)-SVNBRANCH),echo $(module):$($(module)-SVNBRANCH);))
+ $(if $($(module)-SVNPATH), \
+ $(if $($(module)-SVNBRANCH), \
+ echo $(module):$($(module)-SVNBRANCH); , \
+ echo $(module); )))
info: packages modules branches
@echo " Displays know attributes of a package"
@echo "make kernel-devel-rpminfo"
@echo " Displays know attributes of an rpm"
+ @echo "make stage1=true PLDISTROTAGS=planetlab-tags-4.2.mk packages modules branches module-tools"
+ @echo " Lists mentioned items - module-tools is used in modules.update"
@echo ""
@echo "********** Known pakages are"
@echo "$(ALL)"