2020-10-16 Fred Gleason <fredg@paravelsystems.com>

* Modified the 'WebGet' service to supply a sane default
	filename for downloaded content.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-10-16 13:13:25 -04:00
parent b632717817
commit 5bc8337f00
4 changed files with 169 additions and 38 deletions

View File

@@ -27,10 +27,14 @@ moc_%.cpp: %.h
install-exec-local:
mkdir -p $(DESTDIR)@libexecdir@
cp webget.js $(DESTDIR)@libexecdir@/
install-exec-hook:
if test -z $(DESTDIR) ; then chown root $(DESTDIR)$(libexecdir)/webget.cgi ; chmod 4755 $(DESTDIR)$(libexecdir)/webget.cgi ; fi
uninstall-local:
rm -f $(DESTDIR)@libexecdir@/webget.js
libexec_PROGRAMS = webget.cgi
dist_webget_cgi_SOURCES = webget.cpp webget.h
@@ -39,6 +43,8 @@ nodist_webget_cgi_SOURCES = moc_webget.cpp
webget_cgi_LDADD = @LIB_RDLIBS@ -lsndfile @LIBVORBIS@ @QT4_LIBS@ @MUSICBRAINZ_LIBS@ -lQt3Support
EXTRA_DIST = webget.js
CLEANFILES = *~\
moc_*
MAINTAINERCLEANFILES = *~\