File: Makefile.am

package info (click to toggle)
tea 14.2.4-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,112 kB
  • ctags: 1,746
  • sloc: ansic: 21,260; sh: 3,538; makefile: 204; cs: 8
file content (76 lines) | stat: -rw-r--r-- 2,079 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
## Process this file with automake to produce Makefile.in

SUBDIRS = src po

EXTRA_DIST = \
	autogen.sh \
	doc
     
if FINK
pkgdocdir = $(datadir)/doc/@PACKAGE@
endif

if DEB
install-data-local:
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc; 
else
if FINK
install-data-local:
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgdocdir); \
	cp -r $(srcdir)/doc/* $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/AUTHORS $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/ChangeLog $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/README $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/NEWS $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/COPYING $(DESTDIR)$(pkgdocdir); \
	cp $(srcdir)/TODO $(DESTDIR)$(pkgdocdir); \
	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 
else 
install-data-local:
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc; \
	cp -r $(srcdir)/doc $(DESTDIR)$(pkgdatadir); \
	cp $(srcdir)/AUTHORS $(DESTDIR)$(pkgdatadir)/doc; \
	cp $(srcdir)/ChangeLog $(DESTDIR)$(pkgdatadir)/doc; \
	cp $(srcdir)/README $(DESTDIR)$(pkgdatadir)/doc; \
	cp $(srcdir)/NEWS $(DESTDIR)$(pkgdatadir)/doc; \
	cp $(srcdir)/COPYING $(DESTDIR)$(pkgdatadir)/doc; \
	cp $(srcdir)/TODO $(DESTDIR)$(pkgdatadir)/doc; \
	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 
endif 
endif

dist-hook:
	if test -d $(srcdir)/pixmaps; then \
	  mkdir $(distdir)/pixmaps; \
	  for pixmap in $(srcdir)/pixmaps/*; do \
	    if test -f $$pixmap; then \
	      cp -p $$pixmap $(distdir)/pixmaps; \
	    fi \
	  done \
	fi
	
if FINK
uninstall-local:
	rm -f -r -d $(DESTDIR)$(pkgdatadir); \
	rm -f -r -d $(DESTDIR)$(pkgdocdir);
else
uninstall-local:
	rm -f -r -d $(DESTDIR)$(pkgdatadir);
endif