1 EXTRA_DIST = $(wildcard gui-*.xml) $(wildcard *.png) calf.rc.in
4 install -c -m 644 $(srcdir)/*.png $(DESTDIR)$(pkgdatadir)
5 $(top_builddir)/src/calfmakerdf -m gui -p $(DESTDIR)$(pkgdatadir)
6 install -c -m 644 $(srcdir)/gui-*.xml $(DESTDIR)$(pkgdatadir)
7 sed 's#@pkgdatadir@#$(pkgdatadir)#g' $(srcdir)/calf.rc.in >$(top_builddir)/calf.rc
8 install -c -m 644 $(top_builddir)/calf.rc $(DESTDIR)$(pkgdatadir)
9 rm -f $(top_builddir)/calf.rc
12 rm -f $(DESTDIR)$(pkgdatadir)/calf.rc
13 rm -f $(DESTDIR)$(pkgdatadir)/*.png
14 rm -f $(DESTDIR)$(pkgdatadir)/gui-*.xml
15 rmdir $(DESTDIR)$(pkgdatadir) || true