File: Makefile.am

package info (click to toggle)
proftmb 1.1.12-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,092 kB
  • ctags: 769
  • sloc: cpp: 5,038; sh: 746; makefile: 84
file content (25 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (7)
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
dist_noinst_DATA = $(PACKAGE).spec

SUBDIRS = examples src

EXTRA_DIST = input

# lkajan: CentOS 5 autoconf does not define docdir
docdir = $(datadir)/doc/$(PACKAGE)
dist_doc_DATA = README

dist-hook:
	rm -rf `find $(distdir) -name .svn`

install-data-local:
	mkdir -p "$(DESTDIR)$(pkgdatadir)"
	cp "$(srcdir)"/input/* "$(DESTDIR)$(pkgdatadir)/"
	rm -rf `find "$(DESTDIR)$(pkgdatadir)" -name .svn`
	find "$(DESTDIR)$(pkgdatadir)" -type d -exec chmod 0755 {} \;
	find "$(DESTDIR)$(pkgdatadir)" -type f -exec chmod 0644 {} \;

install-data-hook:
	sed --in-place -e 's|__pkgdatadir__|$(pkgdatadir)|g' "$(DESTDIR)$(pkgdatadir)/options"

uninstall-local:
	rm -rf "$(DESTDIR)$(pkgdatadir)"