File: Makefile.am

package info (click to toggle)
g15daemon 1.9.5.3-12
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,144 kB
  • sloc: sh: 9,189; ansic: 3,188; perl: 115; makefile: 66
file content (38 lines) | stat: -rw-r--r-- 1,312 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
32
33
34
35
36
37
38
LLIBDIR=@LIBDIR@

SUBDIRS =  libg15daemon_client g15daemon plugins
INCLUDES =  -I$(top_srcdir)/libg15daemon_client -I$(top_srcdir)/g15daemon

EXTRA_DIST = debian contrib Documentation lang-bindings patches rpm README.usage FAQ LICENSE images README.Linux README.FreeBSD README.Solaris

docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
doc_DATA = FAQ README.usage README ChangeLog TODO AUTHORS NEWS LICENSE README.Linux README.FreeBSD README.Solaris

man1_MANS = $(top_srcdir)/Documentation/g15daemon.1
man3_MANS = $(top_srcdir)/Documentation/g15daemon_client_devel.3

imagedir = $(prefix)/share/g15daemon/splash
image_DATA = images/g15logo2.wbmp

install-data-hook:
if KEXT_INSTALL
	cp -Rf $(top_srcdir)/contrib/libusbshield.kext @KEXT_LOCATION@
	chown -R root:wheel @KEXT_LOCATION@/libusbshield.kext
endif

dist-hook:
	rm -rf `find $(distdir)/debian -name .svn`
	rm -rf `find $(distdir)/contrib -name .svn`
	rm -rf `find $(distdir)/Documentation -name .svn`
	rm -rf `find $(distdir)/lang-bindings -name .svn`
	rm -rf `find $(distdir)/patches -name .svn`
	rm -rf `find $(distdir)/rpm -name .svn`
	rm -rf `find $(distdir)/plugins -name .svn`
	rm -rf `find $(distdir)/images -name .svn`

dist-rpm: dist-bzip2
	rpmbuild -ts $(distdir).tar.bz2

dist-archives:
	$(MAKE) dist-bzip2
	$(MAKE) dist-rpm