WorldForge Community
Discussions
Activity
Sign In
Servers
rulesets/Makefile bug
wart
July 2007
The rulesets/Makefile has a bug when DESTDIR is used. The result is that the ruleset files get installed into the wrong directory.
rulesets/Makefile.am defines moduledir as:
moduledir = $(DESTDIR)$(datadir)/cyphesis/scripts/cyphesis
...and in the install-dist_moduleDATA target of the generated Makefile.in, DESTDIR is added again:
$(dist_moduleDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(moduledir)/$$f";
Removing the $(DESTDIR) from Makefile.am fixes the problem.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
317
General
90
Programming
34
Games
15
Clients
109
Servers
48
Media
21
Powered by Vanilla