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
16 if ENABLE_BASH_COMPLETION
17 bashcompletiondir = $(BASH_COMPLETION_DIR)
18 dist_bashcompletion_DATA = calf
26 install -d -m 755 $(DESTDIR)$(docdir)
27 install -d -m 755 $(DESTDIR)$(docdir)/images
28 install -d -m 755 $(DESTDIR)$(docdir)/images/icons
29 install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto
30 install -d -m 755 $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded
31 install -d -m 755 $(DESTDIR)$(docdir)/scripts
32 install -c -m 644 $(top_srcdir)/doc/manuals/*.html $(DESTDIR)$(docdir)
33 install -c -m 644 $(top_srcdir)/doc/manuals/images/*.png $(DESTDIR)$(docdir)/images/
34 install -c -m 644 $(top_srcdir)/doc/manuals/images/*.jpg $(DESTDIR)$(docdir)/images/
35 install -c -m 644 $(top_srcdir)/doc/manuals/images/prettyPhoto/dark_rounded/* $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/
36 install -c -m 644 $(top_srcdir)/doc/manuals/images/icons/* $(DESTDIR)$(docdir)/images/icons/
37 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.css $(DESTDIR)$(docdir)/scripts/
38 install -c -m 644 $(top_srcdir)/doc/manuals/scripts/*.js $(DESTDIR)$(docdir)/scripts/
41 rm -f $(DESTDIR)$(docdir)/*.html
42 rm -f $(DESTDIR)$(docdir)/images/*.png
43 rm -f $(DESTDIR)$(docdir)/images/*.jpg
44 rm -f $(DESTDIR)$(docdir)/images/icons/*.png
45 rm -f $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded/*
46 rm -f $(DESTDIR)$(docdir)/scripts/*.css
47 rm -f $(DESTDIR)$(docdir)/scripts/*.js
48 rmdir $(DESTDIR)$(docdir)/scripts $(DESTDIR)$(docdir)/images/icons $(DESTDIR)$(docdir)/images/prettyPhoto/dark_rounded $(DESTDIR)$(docdir)/images/prettyPhoto $(DESTDIR)$(docdir)/images $(DESTDIR)$(docdir) || true