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 (18 lines) | stat: -rw-r--r-- 807 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EXTRA_DIST = $(wildcard gui-*.xml) $(wildcard *.png) calf.rc.in

install-data-hook:
	install -d -m 755 $(DESTDIR)$(pkgdatadir)/icons/LV2
	install -c -m 644 $(srcdir)/*.png $(DESTDIR)$(pkgdatadir)
	$(top_builddir)/src/calfmakerdf -m gui -p $(DESTDIR)$(pkgdatadir)
	install -c -m 644 $(srcdir)/gui-*.xml $(DESTDIR)$(pkgdatadir)
	install -c -m 644 $(srcdir)/icons/LV2/*.svg $(DESTDIR)$(pkgdatadir)/icons/LV2
	sed 's#@guidatadir@#$(pkgdatadir)#g' $(srcdir)/calf.rc.in >$(top_builddir)/calf.rc
	install -c -m 644 $(top_builddir)/calf.rc $(DESTDIR)$(pkgdatadir)
	rm -f $(top_builddir)/calf.rc

uninstall-hook:
	rm -f $(DESTDIR)$(pkgdatadir)/calf.rc
	rm -f $(DESTDIR)$(pkgdatadir)/*.png
	rm -f $(DESTDIR)$(pkgdatadir)/gui-*.xml
	rm -f $(DESTDIR)$(pkgdatadir)/icons/LV2/*.svg
	rm -r $(DESTDIR)$(pkgdatadir) || true