# File: cmt/fragments/merge_genconfDb_header # Author: Sebastien Binet (binet@cern.ch) # Pere Mato (for the Windows version) # Makefile fragment to merge a _confDb.py file into a single # _merged_confDb.py file in the (python) install area .PHONY: ${CONSTITUENT} ${CONSTITUENT}clean instdir = $(CMTINSTALLAREA)$(shared_install_subdir) confDbRef = $(inDir)\$(library)_confDb.py stampConfDb = $(instdir)\python\$(library)_confDb.py.stamp mergedConfDb = $(instdir)\python\$(project)_merged_confDb.py ${CONSTITUENT} :: $(stampConfDb) $(mergedConfDb) @: $(stampConfDb) $(mergedConfDb) :: $(confDbRef) @echo "Running merge_genconfDb ${CONSTITUENT}" $(merge_genconfDb_cmd) \ $(merge_genconfDb_switch) \ --input-file $(confDbRef) \ --merged-file $(mergedConfDb) ${CONSTITUENT}clean :: $(cleanup_silent) $(merge_genconfDb_cmd) \ --un-merge \ --input-file $(confDbRef) \ --merged-file $(mergedConfDb) ; $(cleanup_silent) $(remove_command) $(stampConfDb)