File: Makefile.am

package info (click to toggle)
gtkatlantic 0.4.2-3
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 4,236 kB
  • ctags: 745
  • sloc: sh: 8,786; ansic: 8,311; xml: 191; makefile: 40
file content (32 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (4)
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
SUBDIRS=src

install-data-local:
	@$(NORMAL_INSTALL)
	if test -d $(srcdir)/data; then \
	   $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/; \
	   for datafile in $(srcdir)/data/*; do \
              if test -f $$datafile; then \
	         $(INSTALL_DATA)  $$datafile $(DESTDIR)$(pkgdatadir)/; \
	      fi \
           done \
	fi
	if test -d $(srcdir)/themes; then \
	   $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/themes; \
	   for themedir in $(srcdir)/themes/*; do \
              if test -d $$themedir; then \
	         $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$themedir; \
	         for themefile in $(srcdir)/$$themedir/*; do \
	            if test -f $$themefile; then \
	               $(INSTALL_DATA) $$themefile $(DESTDIR)$(pkgdatadir)/$$themedir; \
	            fi \
	         done \
	      fi \
	   done \
	fi


uninstall-local:
	@$(NORMAL_UNINSTALL)
	if test -d $(DESTDIR)$(pkgdatadir)/; then \
	   rm -rf $(DESTDIR)$(pkgdatadir)/; \
	fi