File: Makefile.am

package info (click to toggle)
xarchon 0.50-8.1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,788 kB
  • ctags: 2,127
  • sloc: ansic: 11,925; cpp: 1,973; sh: 330; makefile: 100; lisp: 66
file content (31 lines) | stat: -rw-r--r-- 935 bytes parent folder | download | duplicates (5)
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
## Process this file with automake to produce Makefile.in

THEMES = archon

install-data-hook:
	@for theme in $(THEMES); do \
	   echo "--> Installing theme '$$theme'"; \
	   THEME_DIRS=`find $$theme -type d`; \
	   for p in $$THEME_DIRS; do \
	      echo "mkdir $(pkgdatadir)/$$p"; \
	      mkdir $(pkgdatadir)/$$p; \
	   done; \
	   THEME_FILES=`find $$theme -type f`; \
	   for p in $$THEME_FILES; do \
	      echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p"; \
	      $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(pkgdatadir)/$$p; \
	   done; \
	   THEME_LINKS=`find $$theme -type l`; \
	   for p in $$THEME_LINKS; do \
	      q=`ls -l $$p | cut -d '>' -f 2`; \
	      echo " ln -sf $$q $(DESTDIR)$(pkgdatadir)/$$p"; \
	      ln -sf $$q $(DESTDIR)$(pkgdatadir)/$$p; \
	   done; \
	done

pkgdata_DATA = \
   xarchon.default statistics \
   icon.xpm logo.xpm \
   xarchon-palette

EXTRA_DIST = $(pkgdata_DATA) $(THEMES)