File: Makefile.am

package info (click to toggle)
darts 0.32-19
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,040 kB
  • sloc: sh: 2,458; cpp: 95; makefile: 32; perl: 3
file content (25 lines) | stat: -rw-r--r-- 707 bytes parent folder | download | duplicates (6)
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
SUBDIRS = tests
EXTRA_DIRS = doc
pkglibexecdir = ${prefix}/bin
pkglibexec_PROGRAMS = mkdarts darts
always_built_SUBDIRS = tests
EXTRA_DIST = darts.spec BSD LGPL
mkdarts_SOURCES = mkdarts.cpp darts.h
darts_SOURCES   = darts.cpp   darts.h
include_HEADERS = darts.h

dist-hook:
	for subdir in $(EXTRA_DIRS); do \
	cp -rp $$subdir $(distdir)/$$subdir; \
	rm -f $(distdir)/$$subdir/*~; \
	rm -f $(distdir)/$$subdir/*.{bak,orig}; \
	rm -rf $(distdir)/$$subdir/CVS; \
	rm -rf $(distdir)/$$subdir/*/CVS; \
        rm -rf $(distdir)/$$subdir/.svn; \
        rm -rf $(distdir)/.svn; \
        rm -rf $(distdir)/*/.svn; \
        rm -rf $(distdir)/*/*/.svn; \
	done

rpm: dist
	rpmbuild -ta @PACKAGE@-@VERSION@.tar.gz