summaryrefslogtreecommitdiff
path: root/modules/module.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/module.mk')
-rw-r--r--modules/module.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/modules/module.mk b/modules/module.mk
index d3d3da2..b2dbde8 100644
--- a/modules/module.mk
+++ b/modules/module.mk
@@ -15,15 +15,16 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
-include $(topsrcdir)/common.top.mk
+include $(topsrcdir)/automake.head.mk
name := $(lastword $(subst /, ,$(abspath $(srcdir))))
include $(srcdir)/Makefile.inc.mk
+makefiles = Makefile Makefile.inc.mk
dirs += $(DESTDIR)$(pkglibexecdir)/modules/$(name)
-src_files += Makefile Makefile.inc.mk Module.mk
-sys_files += $(pkglibexecdir)/modules/$(name).mk
-sys_files += $(addprefix $(pkglibexecdir)/modules/$(name)/,$(out_files))
+am_src_files += Module.mk
+am_sys_files += $(pkglibexecdir)/modules/$(name).mk
+am_sys_files += $(addprefix $(pkglibexecdir)/modules/$(name)/,$(am_out_files))
$(DESTDIR)$(pkglibexecdir)/modules/$(name).mk: $(srcdir)/Module.mk | $(DESTDIR)$(pkglibexecdir)/modules
$(INSTALL_DATA) $< $@
@@ -32,4 +33,4 @@ $(DESTDIR)$(pkglibexecdir)/modules/$(name)/%: $(srcdir)/% | $(DESTDIR)$(pkglibex
$(DESTDIR)$(pkglibexecdir)/modules/$(name)/%: $(outdir)/% | $(DESTDIR)$(pkglibexecdir)/modules/$(name)
$(INSTALL_PROGRAM) $< $@
-include $(topsrcdir)/common.bottom.mk
+include $(topsrcdir)/automake.tail.mk