Skip to content

Commit

Permalink
Fix compilation outside of source directory
Browse files Browse the repository at this point in the history
$(srcdir)/ is not prepended automatically to wildcard expressions,
so add it manually.
  • Loading branch information
zeldin committed Feb 12, 2011
1 parent 05bf013 commit cd38545
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion graphics/Makefile.am
Expand Up @@ -2,6 +2,6 @@ SUBDIRS = classic_theme lanzz_theme

graphicsdir = $(pkgdatadir)/graphics

graphics_DATA = *.bmp *.png *.jpg
graphics_DATA = $(srcdir)/*.bmp $(srcdir)/*.png $(srcdir)/*.jpg

EXTRA_DIST = $(graphics_DATA)
2 changes: 1 addition & 1 deletion graphics/classic_theme/Makefile.am
@@ -1,5 +1,5 @@
classic_themedir = $(pkgdatadir)/graphics/classic_theme

classic_theme_DATA = config.theme *.png
classic_theme_DATA = config.theme $(srcdir)/*.png

EXTRA_DIST = $(classic_theme_DATA)
2 changes: 1 addition & 1 deletion graphics/lanzz_theme/Makefile.am
@@ -1,5 +1,5 @@
lanzz_themedir = $(pkgdatadir)/graphics/lanzz_theme

lanzz_theme_DATA = config.theme *.png
lanzz_theme_DATA = config.theme $(srcdir)/*.png

EXTRA_DIST = $(lanzz_theme_DATA)
2 changes: 1 addition & 1 deletion graphics/para90_theme/Makefile.am
@@ -1,5 +1,5 @@
para90_themedir = $(pkgdatadir)/graphics/para90_theme

para90_theme_DATA = config.theme *.png
para90_theme_DATA = config.theme $(srcdir)/*.png

EXTRA_DIST = $(para90_theme_DATA)
2 changes: 1 addition & 1 deletion map/Makefile.am
@@ -1,5 +1,5 @@
mapdir = $(pkgdatadir)/map

map_DATA = *.ruleset *.mission *.maps *.droids *.elevators
map_DATA = $(srcdir)/*.ruleset $(srcdir)/*.mission $(srcdir)/*.maps $(srcdir)/*.droids $(srcdir)/*.elevators

EXTRA_DIST = $(map_DATA)
2 changes: 1 addition & 1 deletion sound/Makefile.am
@@ -1,5 +1,5 @@
sounddir = $(pkgdatadir)/sound

sound_DATA = *.wav *.mod *.ogg
sound_DATA = $(srcdir)/*.wav $(srcdir)/*.mod $(srcdir)/*.ogg

EXTRA_DIST = $(sound_DATA)

0 comments on commit cd38545

Please sign in to comment.