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)/images/icons
24 install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto
25 install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded
26 install -d -m 755 $(DESTDIR)$(docdir)/scripts
27 install -c -m 644 $(top_srcdir)/doc/manuals/*.html $(DESTDIR)$(docdir)
28 install -c -m 644 $(top_srcdir)/doc/manuals/images/*.png $(DESTDIR)$(docdir)/images/
29 install -c -m 644 $(top_srcdir)/doc/manuals/images/prettyPhoto/dark_rounded/* $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/
30 install -c -m 644 $(top_srcdir)/doc/manuals/images/icons/* $(DESTDIR)$(docdir)/images/icons/
31 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.css $(DESTDIR)$(docdir)/scripts/
32 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.js $(DESTDIR)$(docdir)/scripts/
35 rm -f $(DESTDIR)$(docdir)/*.html
36 rm -f $(DESTDIR)$(docdir)/images/*.png
37 rm -f $(DESTDIR)$(docdir)/images/icons/*.png
38 rm -f $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/*
39 rm -f $(DESTDIR)$(docdir)/scripts/*.css
40 rm -f $(DESTDIR)$(docdir)/scripts/*.js
41 rmdir $(DESTDIR)$(docdir)/scripts $(DESTDIR)$(docdir)/images/icons $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded $(DESTDIR)$(docdir)/images/prettyPhoto $(DESTDIR)$(docdir)/images $(DESTDIR)$(docdir) || true