You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
604 B
14 lines
604 B
gamedatadir = $(kde_datadir)/kgoldrunner/system
|
|
gamedata_DATA = games.dat hi_level.dat hi_plws.dat hi_plwv.dat hi_wad.dat
|
|
|
|
# Untar the file levels.tar and install levels/*.grl files. The "chown" and
|
|
# "chmod" ensure that installer owns files: even if installer is "root". The
|
|
# "|| true" commands make everything succeed when the installer is NOT "root".
|
|
install-data-local:
|
|
$(mkinstalldirs) $(DESTDIR)$(gamedatadir)
|
|
pwd=`cd $(srcdir) && pwd` ;\
|
|
cd $(DESTDIR)$(gamedatadir) && tar -xf $$pwd/levels.tar ;\
|
|
chown -R root:root levels 2> /dev/null || true ;\
|
|
chmod 644 levels/* 2> /dev/null || true
|
|
|