Commit 3a845b8b authored by Josip Rodin's avatar Josip Rodin

use patsubst instead of subst to avoid breaking directories called...

use patsubst instead of subst to avoid breaking directories called foo-installbar, noticed by Geert Stappers

CVS version numbers

Makefile.common: 1.78 -> 1.79
parent 284c6d98
......@@ -55,21 +55,21 @@ $(existing-SUBS):
install:: $(HTMLDESTFILES) $(OTHERDESTFILES) $(existing-SUBS-install)
$(existing-SUBS-install):
-$(MAKE) -C $(subst -install,,$@) install
-$(MAKE) -C $(patsubst %-install,%,$@) install
clean::
rm -f *.$(LANGUAGE).html *~ *.forced
clean:: $(existing-SUBS-clean)
$(existing-SUBS-clean):
-$(MAKE) -C $(subst -clean,,$@) clean
-$(MAKE) -C $(patsubst %-clean,%,$@) clean
cleandest::
rm -f $(HTMLDIR)/*.$(LANGUAGE).html
cleandest:: $(existing-SUBS-cleandest)
$(existing-SUBS-cleandest):
-$(MAKE) -C $(subst -cleandest,,$@) cleandest
-$(MAKE) -C $(patsubst %-cleandest,%,$@) cleandest
# subdirectories of News, events and security dirs each have
# their own generic wml file deps
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment