File: Makefile.am

package info (click to toggle)
cssed 0.4.0-2.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,712 kB
  • ctags: 9,499
  • sloc: ansic: 64,325; cpp: 38,658; sh: 7,959; xml: 963; makefile: 321; python: 157
file content (80 lines) | stat: -rw-r--r-- 1,788 bytes parent folder | download | duplicates (3)
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
77
78
79
80
## Process this file with automake to produce Makefile.in

SUBDIRS = libcroco scintilla src po

man_MANS = cssed.1

EXTRA_DIST = \
	autogen.sh \
	bootstrap \
	libcroco \
	scintilla \
	data \
	cssed.pc.in

if INSTALLHEADERS
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = cssed.pc
endif

install-data-local:
	@$(NORMAL_INSTALL)
	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
	if test -d $(srcdir)/data; then \
          $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/data; \
          for data in $(srcdir)/data/*; do \
            if test -f $$data; then \
              $(INSTALL_DATA) $$data $(DESTDIR)$(pkgdatadir)/data; \
            fi \
          done \
        fi

if INSTALLHEADERS
	if test -d $(srcdir)/include; then \
	  $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/include; \
	  for header in $(srcdir)/include/*.h; do \
	    if test -f $$header; then \
	      $(INSTALL_DATA) $$header $(DESTDIR)$(pkgdatadir)/include; \
	    fi \
	  done \
	fi
endif

uninstall-local:
	if test -d $(DESTDIR)$(pkgdatadir); then \
		rm -rf $(DESTDIR)$(pkgdatadir); \
	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 include; then \
	  mkdir $(distdir)/include; \
	  for header in include/*.h; do \
	    if test -f $$header; then \
	      cp -p $$header $(distdir)/include; \
	    fi \
	  done \
	fi
	for manpage in $(man_MANS); do \
		if test -e $$manpage; then \
			cp -p $$manpage $(distdir); \
		fi \
	done