File: Makefile.am

package info (click to toggle)
gnomesword 2.0.0-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,960 kB
  • ctags: 2,485
  • sloc: ansic: 28,475; sh: 10,607; cpp: 1,855; xml: 1,335; makefile: 245
file content (51 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
## Process this file with automake to produce Makefile.in

SUBDIRS = m4 doc po src

gnomesworddoc_DATA = \
 	   README\
	    COPYING\
	    COPYING-DOCS\
	    AUTHORS\
	    ChangeLog\
	    INSTALL\
	    NEWS\
	    TODO


gnomesworddocdir = $(prefix)/@NO_PREFIX_PACKAGE_DOC_DIR@

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
          $(mkinstalldirs) $(DESTDIR)$(datadir)/pixmaps/${PACKAGE}; \
          for pixmap in $(srcdir)/pixmaps/*; do \
            if test -f $$pixmap; then \
              $(INSTALL_DATA) $$pixmap $(DESTDIR)$(datadir)/pixmaps/${PACKAGE}; \
            fi \
          done \
	fi

	$(mkinstalldirs) $(DESTDIR)$(datadir)/applications
	$(INSTALL_DATA) ${PACKAGE}.desktop $(DESTDIR)$(datadir)/applications

uninstall-local:
	@$(NORMAL_UNINSTALL)
	rm -f -r $(DESTDIR)$(datadir)/pixmaps/${PACKAGE}
	rm -f $(DESTDIR)$(datadir)/applications/${PACKAGE}.desktop
	rm -f -r $(DESTDIR)$(datadir)/gnome/help/${PACKAGE}

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


ACLOCAL_AMFLAGS = -I m4

EXTRA_DIST = ${PACKAGE}.desktop.in ${PACKAGE}.spec.in ${PACKAGE}.spec xmldocs.make omf.make COPYING-DOCS