summaryrefslogtreecommitdiffstats
path: root/kasteroids/sprites/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kasteroids/sprites/Makefile.am')
-rw-r--r--kasteroids/sprites/Makefile.am36
1 files changed, 36 insertions, 0 deletions
diff --git a/kasteroids/sprites/Makefile.am b/kasteroids/sprites/Makefile.am
new file mode 100644
index 00000000..f11d78f9
--- /dev/null
+++ b/kasteroids/sprites/Makefile.am
@@ -0,0 +1,36 @@
+
+SUBDIRS = bits missile rock1 rock2 rock3 ship powerups exhaust
+
+POVRAY=x-povray # Must be Povray 3.0
+
+#all: pngtoppmpgm
+
+#clean:
+# rm -f *~ pngtoppmpgm
+
+#distclean: clean
+# rm -f Makefile
+
+FILES = `cd $(srcdir) && find . \( -name "*.png" \) -print`
+spritesdir = $(kde_datadir)/kasteroids/sprites
+
+install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/rock1
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/rock2
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/rock3
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/ship
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/bits
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/missile
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/powerups
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/shield
+ $(mkinstalldirs) $(DESTDIR)$(spritesdir)/exhaust
+ @for file in $(FILES); do \
+ echo $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(spritesdir)/$$file ;\
+ $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(spritesdir)/$$file ;\
+ done
+
+uninstall-local:
+ for file in $(FILES); do \
+ rm -f $(DESTDIR)$(spritesdir)/$$file ;\
+ done
+