On Tuesday, October 1, 2013 20:22 CEST, Germán Arias <[email protected]> wrote: > El mar, 01-10-2013 a las 19:32 +0200, Sebastian Reitenbach escribió: > > I played a bit with Germans silver theme, in order to > > get it installing properly into the system Themes directory. > > > > I added the following to the GNUmakefile: > > > > $(BUNDLE_NAME)_RESOURCE_FILES = Resources/Silver.tiff \ > > $(wildcard Resources/*.clr) \ > > $(wildcard Resources/ThemeImages/*.tiff) \ > > $(wildcard Resources/ThemeTiles/*.tiff) > > > > It picks up all the files from the Resources directory, and also > > from its subdirectories, but it places everything plain into > > the Resources directory in the installation path. > > > > i.e. Resources/ThemImages/blah.tiff goes into > > /usr/local/lib/GNUstep/Themes/Silver.theme/Resources/blah.tiff > > instead of the wanted > > /usr/local/lib/GNUstep/Themes/Silver.theme/Resources/ThemeImages/blah.tiff > > > > is there an easy way to keep the directory structure for the resources > > without overriding the install target or adding a post-install target? > > > > Sebastian > > > > You only need add the directories, not the files inside these. For > example: > > $(BUNDLE_NAME)_RESOURCE_FILES = Resources/Silver.tiff \ > $(wildcard Resources/*.clr) \ > $(wildcard Resources/ThemeImages) \ > $(wildcard Resources/ThemeTiles)
Doh, that's easy ;) Works like a charm, instead of the $wildcard, I just only gave the plain directory. thanks, Sebastian > > Germán. > > _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
