Switch to side-by-side view
--- a/Makefile.am +++ b/Makefile.am @@ -65,13 +65,13 @@ EXTRA_DIST = web.tar.gz systemd/upmpdcli.service web.tar.gz: bogus - tar cvzf web.tar.gz web + if test -d $(srcdir)/web; then \ + (cd $(srcdir); tar cvzf - web) > web.tar.gz; fi + bogus: -clean-local: - rm -f web.tar.gz -install-data-hook: - (cd $(DESTDIR)$(pkgdatadir); tar xzf -) < $(srcdir)/web.tar.gz +install-data-hook: web.tar.gz + (cd $(DESTDIR)$(pkgdatadir); tar xzf -) < web.tar.gz dist_sysconf_DATA = src/upmpdcli.conf