libextractor-mono

GNU libextractor
Log | Files | Refs | LICENSE

rules.make (1104B)


      1 clean-local:
      2 	make pre-clean-local-hook
      3 	make $(CONFIG)_BeforeClean
      4 	-rm -f $(call quote_each,$(CLEANFILES))
      5 	make $(CONFIG)_AfterClean
      6 	make post-clean-local-hook
      7 
      8 install-local:
      9 uninstall-local:
     10 
     11 q2quote = '$(subst ?, ,$1)'
     12 quote_each = $(foreach f,$(call s2q,$1),$(call q2quote,$f))
     13 
     14 dist-local:
     15 	make pre-dist-local-hook "distdir=$$distdir"
     16 	for f in Makefile $(call quote_each,$(EXTRA_DIST)); do \
     17 		d=`dirname "$$f"`; \
     18 		test -d "$(distdir)/$$d" || \
     19 			mkdir -p "$(distdir)/$$d"; \
     20 		cp -p "$$f" "$(distdir)/$$d" || exit 1; \
     21 	done
     22 	make post-dist-local-hook "distdir=$$distdir"
     23 
     24 dist-local-recursive:
     25 	for dir in $(call quote_each,$(SUBDIRS)); do \
     26 		mkdir -p "$(distdir)/$$dir" || true; \
     27 		case "$$dir" in \
     28 		.) make dist-local "distdir=$(distdir)" || exit 1;; \
     29 		*) (cd "$$dir"; make dist-local "distdir=$(distdir)/$$dir") || exit 1; \
     30 		esac \
     31 	done
     32 
     33 #hooks: Available hooks - all, clean, install, uninstall and dist
     34 #	and their *-local variants
     35 pre-%-hook: ; @:
     36 post-%-hook: ; @:
     37 
     38 #targets for custom commands
     39 %_BeforeBuild: ; @:
     40 %_AfterBuild: ; @:
     41 %_BeforeClean: ; @:
     42 %_AfterClean: ; @: