From f61fc8ef256f43d1ada47fb5851f8954fea4cdea Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Sun, 1 May 2005 19:26:24 +0000 Subject: - Added installation of game data, install required on *nix systems - Updated desktop file to work better - Install the desktop file to the standard location - Install the icon as tmw.png in the standard pixmaps data dir --- data/Makefile.am | 39 ++++++++++----------------------------- data/graphics/Makefile.am | 2 ++ data/graphics/gui/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ data/graphics/images/Makefile.am | 8 ++++++++ data/icons/Makefile.am | 17 +++++++++++++++++ 5 files changed, 73 insertions(+), 29 deletions(-) create mode 100644 data/graphics/Makefile.am create mode 100644 data/graphics/gui/Makefile.am create mode 100644 data/graphics/images/Makefile.am create mode 100644 data/icons/Makefile.am (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 252e8b5a..039fe68c 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,29 +1,10 @@ -EXTRA_DIST = maps/new_1-1.tmx.gz \ - maps/new_3-1.tmx.gz \ - graphics/gui/bg_quad_dis.png \ - graphics/gui/button.png \ - graphics/gui/button_disabled.png \ - graphics/gui/buttonhi.png \ - graphics/gui/buttonpress.png \ - graphics/gui/checkbox.png \ - graphics/gui/fixedfont.png \ - graphics/gui/mouse.png \ - graphics/gui/radioin.png \ - graphics/gui/radioout.png \ - graphics/gui/slider.png \ - graphics/gui/textbox.png \ - graphics/gui/vscroll_blue.png \ - graphics/gui/vscroll_grey.png \ - graphics/gui/vscroll_red.png \ - graphics/tiles/desert1.png \ - graphics/tiles/desert2.png \ - graphics/tiles/collision.png \ - graphics/sprites/emotions.png \ - graphics/sprites/items.png \ - graphics/sprites/monsters.png \ - graphics/sprites/npcs.png \ - graphics/sprites/player_male_base.png \ - graphics/sprites/player_male_hair.png \ - graphics/sprites/weapons.png \ - graphics/images/login_wallpaper.png \ - sfx/bow_shoot_1.ogg + +SUBDIRS = graphics icons maps sfx + +tmwdatadir = $(pkgdatadir)/data + +tmwdata_DATA = \ + items.xml + +EXTRA_DIST = \ + $(tmwdata_DATA) \ No newline at end of file diff --git a/data/graphics/Makefile.am b/data/graphics/Makefile.am new file mode 100644 index 00000000..43354894 --- /dev/null +++ b/data/graphics/Makefile.am @@ -0,0 +1,2 @@ + +SUBDIRS = gui images sprites tiles diff --git a/data/graphics/gui/Makefile.am b/data/graphics/gui/Makefile.am new file mode 100644 index 00000000..c01d83a6 --- /dev/null +++ b/data/graphics/gui/Makefile.am @@ -0,0 +1,36 @@ + +guidir = $(pkgdatadir)/data/graphics/gui + +gui_DATA = \ + bg_quad_dis.png \ + button.png \ + button_disabled.png \ + buttonhi.png \ + buttonpress.png \ + checkbox.png \ + fixedfont.png \ + hscroll_left_default.png \ + hscroll_left_highlight.png \ + hscroll_left_pressed.png \ + hscroll_right_default.png \ + hscroll_right_highlight.png \ + hscroll_right_pressed.png \ + mouse.png \ + radioin.png \ + radioout.png \ + selection.png \ + slider.png \ + textbox.png \ + thickborder.png \ + vscroll_blue.png \ + vscroll_down_default.png \ + vscroll_down_highlight.png \ + vscroll_down_pressed.png \ + vscroll_grey.png \ + vscroll_red.png \ + vscroll_up_default.png \ + vscroll_up_highlight.png \ + vscroll_up_pressed.png + +EXTRA_DIST = \ + $(gui_DATA) diff --git a/data/graphics/images/Makefile.am b/data/graphics/images/Makefile.am new file mode 100644 index 00000000..d06fcf11 --- /dev/null +++ b/data/graphics/images/Makefile.am @@ -0,0 +1,8 @@ + +imagesdir = $(pkgdatadir)/data/graphics/images + +images_DATA = \ + login_wallpaper.png + +EXTRA_DIST = \ + $(images_DATA) diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 00000000..26dcd623 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,17 @@ + +iconsdir = $(pkgdatadir)/data/icons + +icons_DATA = \ + tmw-icon.ico \ + tmw-icon.png \ + tmw-icon.xpm + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps + $(INSTALL) $(srcdir)/tmw-icon.png $(DESTDIR)$(datadir)/pixmaps/tmw.png + +uninstall-local: + rm -f $(DESTDIR)$(datadir)/pixmaps/tmw.png + +EXTRA_DIST = \ + $(icons_DATA) -- cgit v1.2.3-70-g09d2