File: Makefile.am

package info (click to toggle)
gnurobbo 0.57.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,044 kB
  • ctags: 361
  • sloc: sh: 3,358; ansic: 2,977; makefile: 81
file content (27 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
bin_PROGRAMS = gnurobbo

gnurobbo_SOURCES = game.c game.h board.c data_init.c
EXTRA_DIST = levels.dat icons/icons.bmp icons/ciphers.bmp icons/background.bmp

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/pixmaps; \
	    for pixmap in $(srcdir)/pixmaps/*; do \
	      if test -f $$pixmap; then \
	       $(INSTALL_DATA) $$pixmap $(DESTDIR)$(pkgdatadir)/pixmaps; \
	      fi \
	    done \
	fi
	$(INSTALL_DATA) levels.dat $(DESTDIR)$(pkgdatadir)

dist-hook:
	if test -d pixmaps; then \
	  mkdir $(distdir)/pixmaps; \
	  for pixmap in pixmaps/*; do \
	    if test -f $$pixmap; then \
	     cp -p $$pixmap $(distdir)/pixmaps; \
	    fi \
	  done \
	fi
	cp -p levels.dat $(destdir)