File: Makefile.am

package info (click to toggle)
xconvers 0.8.3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,684 kB
  • ctags: 616
  • sloc: sh: 3,974; ansic: 1,738; makefile: 89; sed: 16
file content (54 lines) | stat: -rw-r--r-- 1,267 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
## Process this file with automake to produce Makefile.in

SUBDIRS = m4 src po

EXTRA_DIST = config.rpath xconvers.glade xconvers.1 Xconvers.desktop BUGS \
	xconvers.spec.in xconvers.spec

install-data-local:
	@$(NORMAL_INSTALL)

## pixmaps go into /usr(/local)/share/xconvers/pixmaps

	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

## manual page into mandir

	if test -f $(srcdir)/xconvers.1; then \
    $(mkinstalldirs) $(DESTDIR)$(mandir)/man1; \
    $(INSTALL_DATA) xconvers.1 $(DESTDIR)$(mandir)/man1; \
  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 debian; then \
    mkdir $(distdir)/debian; \
    for deb in debian/*; do \
      if test -f $$deb; then \
        cp -p $$deb $(distdir)/debian; \
      fi \
    done \
  fi

rpm: Makefile
	make dist
	$(RPMBUILD) -ta $(PACKAGE)-$(VERSION).tar.gz
	rm $(PACKAGE)-$(VERSION).tar.gz

ACLOCAL_AMFLAGS = -I m4