File: Makefile.am

package info (click to toggle)
calf 0.0.19+git20140915+5de5da28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,748 kB
  • ctags: 8,054
  • sloc: cpp: 32,680; xml: 10,722; ansic: 3,431; python: 1,537; makefile: 188; lex: 51; sh: 20
file content (43 lines) | stat: -rw-r--r-- 1,916 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
SRCDIRS = src gui icons

SUBDIRS = $(SRCDIRS)

distdir = $(PACKAGE)-$(VERSION)

desktopfilesdir = $(datadir)/applications
dist_desktopfiles_DATA = calf.desktop

docdir = $(datadir)/doc/${PACKAGE}

EXTRA_DIST = COPYING.GPL TODO autogen.sh presets.xml calf.7 calfjackhost.1 calf-gui.xml doc/manuals

dist_man_MANS = calf.7 calfjackhost.1

clean-local:
	rm -f *~ *.old *.bak
	rm -rf autom4te.cache

install-data-local:
	install -d -m 755 $(DESTDIR)$(docdir)
	install -d -m 755 $(DESTDIR)$(docdir)/images
	install -d -m 755 $(DESTDIR)$(docdir)/images/icons
	install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto
	install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded
	install -d -m 755 $(DESTDIR)$(docdir)/scripts
	install -c -m 644 $(top_srcdir)/doc/manuals/*.html $(DESTDIR)$(docdir)
	install -c -m 644 $(top_srcdir)/doc/manuals/images/*.png $(DESTDIR)$(docdir)/images/
	install -c -m 644 $(top_srcdir)/doc/manuals/images/*.jpg $(DESTDIR)$(docdir)/images/
	install -c -m 644 $(top_srcdir)/doc/manuals/images/prettyPhoto/dark_rounded/* $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/
	install -c -m 644 $(top_srcdir)/doc/manuals/images/icons/* $(DESTDIR)$(docdir)/images/icons/
	install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.css $(DESTDIR)$(docdir)/scripts/
	install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.js $(DESTDIR)$(docdir)/scripts/
        
uninstall-local:
	rm -f $(DESTDIR)$(docdir)/*.html
	rm -f $(DESTDIR)$(docdir)/images/*.png
	rm -f $(DESTDIR)$(docdir)/images/*.jpg
	rm -f $(DESTDIR)$(docdir)/images/icons/*.png
	rm -f $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/*
	rm -f $(DESTDIR)$(docdir)/scripts/*.css
	rm -f $(DESTDIR)$(docdir)/scripts/*.js
	rmdir $(DESTDIR)$(docdir)/scripts $(DESTDIR)$(docdir)/images/icons $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded $(DESTDIR)$(docdir)/images/prettyPhoto $(DESTDIR)$(docdir)/images $(DESTDIR)$(docdir) || true