2 -include local.mk
# optional local customization
4 .NOTPARALLEL
: # always run this make serially
5 .SUFFIXES
: # we don't need default suffix rules
7 $(error This make needs to be started
as a sub-make from the toplevel directory.
)
10 .PHONY
: all install clean cleanall clean-install
15 $(foreach dir, $?
, if
[ ! -d
$(DESTDIR
)$(datadir)/$(dir) ]; then
$(MKDIR
) $(DESTDIR
)$(datadir)/$(dir); else true
; fi
; $(CP
) $(dir)/* $(DESTDIR
)$(datadir)/$(dir); )
22 if
[ ! -d
$(DESTDIR
)$(datadir) ]; then
$(MKDIR
) $(DESTDIR
)$(datadir); else true
; fi
;
23 $(RMR
) $(DESTDIR
)$(datadir)