diff options
-rw-r--r-- | build-aux/Makefile.each.head/00-sd.mk | 3 | ||||
-rw-r--r-- | build-aux/Makefile.each.tail/50-sd.mk | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/Makefile.each.head/00-sd.mk b/build-aux/Makefile.each.head/00-sd.mk index 43d1625245..e803751eb6 100644 --- a/build-aux/Makefile.each.head/00-sd.mk +++ b/build-aux/Makefile.each.head/00-sd.mk @@ -4,3 +4,6 @@ sd.LDFLAGS ?= sd.LIBTOOLFLAGS ?= sd.sed_files ?= + +INSTALL_DIRS ?= +files.sys.all += $(INSTALL_DIRS) diff --git a/build-aux/Makefile.each.tail/50-sd.mk b/build-aux/Makefile.each.tail/50-sd.mk index b7afb178a2..1cba80ce2b 100644 --- a/build-aux/Makefile.each.tail/50-sd.mk +++ b/build-aux/Makefile.each.tail/50-sd.mk @@ -83,6 +83,9 @@ endif # $(SED_PROCESS) # $(AM_V_GEN)chmod +x $@ +$(addprefix $(DESTDIR),$(INSTALL_DIRS)): %: + mkdir -p -- $@ + $(outdir)/%.c: $(srcdir)/%.gperf $(AM_V_GPERF)$(GPERF) < $< > $@ $(outdir)/%.c: $(outdir)/%.gperf |