File: Makefile.am

package info (click to toggle)
diasce 1.0.5-1.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,964 kB
  • ctags: 1,732
  • sloc: ansic: 26,805; sh: 2,999; makefile: 399; yacc: 318
file content (58 lines) | stat: -rw-r--r-- 1,545 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
52
53
54
55
56
57
58
## Process this file with automake to produce Makefile.in

SUBDIRS = src intl po

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/pixmaps; then \
		if test "x${prefix}" = "xNONE"; then \
			$(mkinstalldirs) $(DESTDIR)@PACKAGE_PIXMAPS_DIR@; \
			for pixmap in $(srcdir)/pixmaps/*; do \
				if test -f $$pixmap; then \
					$(INSTALL_DATA) $$pixmap $(DESTDIR)@PACKAGE_PIXMAPS_DIR@; \
				fi \
			done \
		else \
			$(mkinstalldirs) $(DESTDIR)$(prefix)/share/pixmaps/$(PACKAGE); \
			for pixmap in $(srcdir)/pixmaps/*; do \
				if test -f $$pixmap; then \
					$(INSTALL_DATA) $$pixmap $(DESTDIR)$(prefix)/share/pixmaps/$(PACKAGE); \
				fi \
			done \
		fi \
	fi
	if test -d $(srcdir)/data; then \
		if test "x${prefix}" = "xNONE"; then \
			$(mkinstalldirs) $(DESTDIR)@PACKAGE_DATA_DIR@; \
			for data in $(srcdir)/data/*; do \
				if test -f $$data; then \
					$(INSTALL_DATA) $$data $(DESTDIR)@PACKAGE_DATA_DIR@; \
				fi \
			done \
		else \
			$(mkinstalldirs) $(DESTDIR)$(prefix)/share/$(PACKAGE); \
			for data in $(srcdir)/data/*; do \
				if test -f $$data; then \
					$(INSTALL_DATA) $$data $(DESTDIR)$(prefix)/share/$(PACKAGE); \
				fi \
			done \
		fi \
	fi

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
	if test -d data; then \
		mkdir $(distdir)/data; \
		for data in data/*; do \
			if test -f $$data; then \
				cp -p $$data $(distdir)/data; \
			fi \
		done \
	fi