1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Author: Pino Toscano <pino@debian.org>
Description: rename the custom 'install' target as 'install-data-hook'
automake creates its own 'install' target in the generated Makefile, and the
custom target shadows it; instead, install the extra bits additionally,
within a 'install-data-hook' target.
Last-Update: 2021-12-28
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@ EXTRA_DIST = \
DIST_SUBDIRS = $(SUBDIRS) Images Docs
# Special install rule for the game
-install:
+install-data-hook:
sh mkinstalldirs $(DESTDIR)@GAME_INSTALLDIR@
install -m 755 Maelstrom $(DESTDIR)@GAME_INSTALLDIR@/Maelstrom
make install_gamedata target=$(DESTDIR)@GAME_INSTALLDIR@
|