1 SRCDIRS = src gui icons
5 distdir = $(PACKAGE)-$(VERSION)
7 desktopfilesdir = $(datadir)/applications
8 dist_desktopfiles_DATA = calf.desktop
10 docdir = $(datadir)/doc/${PACKAGE}
12 EXTRA_DIST = COPYING.GPL TODO autogen.sh presets.xml calf.7 calfjackhost.1 calf-gui.xml doc/manuals
14 dist_man_MANS = calf.7 calfjackhost.1
21 install -d -m 755 $(DESTDIR)$(docdir)
22 install -d -m 755 $(DESTDIR)$(docdir)/images
23 install -d -m 755 $(DESTDIR)$(docdir)/scripts
24 install -c -m 644 $(top_srcdir)/doc/manuals/*.html $(DESTDIR)$(docdir)
25 install -c -m 644 $(top_srcdir)/doc/manuals/images/*.png $(DESTDIR)$(docdir)/images/
26 install -c -m 644 $(top_srcdir)/gui/background_dark.png $(DESTDIR)$(docdir)/images/
27 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.css $(DESTDIR)$(docdir)/scripts/
28 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.js $(DESTDIR)$(docdir)/scripts/
31 rm -f $(DESTDIR)$(docdir)/*.html
32 rm -f $(DESTDIR)$(docdir)/images/*.png
33 rm -f $(DESTDIR)$(docdir)/scripts/*.css
34 rm -f $(DESTDIR)$(docdir)/scripts/*.js
35 rmdir $(DESTDIR)$(docdir)/scripts $(DESTDIR)$(docdir)/images $(DESTDIR)$(docdir) || true