5 EXTRA_DIST = $(wildcard gui-*.xml) $(wildcard *.png) calf.rc.in
8 install -c -m 644 $(srcdir)/*.png $(DESTDIR)$(pkgdatadir)
9 $(top_builddir)/src/calfmakerdf -m gui -p $(DESTDIR)$(pkgdatadir)
10 install -c -m 644 $(srcdir)/gui-*.xml $(DESTDIR)$(pkgdatadir)
11 sed 's#@guidatadir@#$(pkgdatadir)#g' $(srcdir)/calf.rc.in >$(top_builddir)/calf.rc
12 install -c -m 644 $(top_builddir)/calf.rc $(DESTDIR)$(pkgdatadir)
13 rm -f $(top_builddir)/calf.rc
16 rm -f $(DESTDIR)$(pkgdatadir)/calf.rc
17 rm -f $(DESTDIR)$(pkgdatadir)/*.png
18 rm -f $(DESTDIR)$(pkgdatadir)/gui-*.xml
19 rm -r $(DESTDIR)$(pkgdatadir) || true