X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhttp_getter%2FMakefile.in;h=f4e6b592d144161cb9a4844aabd8916a5064d0f8;hb=9cc266a6602dc14130e8cc63abe8ee8bb28e0cb0;hp=49f67e0ede834921113c2fefc541230b90534976;hpb=8b52332953ae90cba6e28a3b4e2144a9dd91e338;p=helm.git diff --git a/helm/http_getter/Makefile.in b/helm/http_getter/Makefile.in index 49f67e0ed..f4e6b592d 100644 --- a/helm/http_getter/Makefile.in +++ b/helm/http_getter/Makefile.in @@ -1,11 +1,33 @@ INSTALL_DIR=@RESOLVED_EXEC_PREFIX@/bin +CGI_DIR=@HELM_CGI_DIR@ all: -install: - cp http_getter.pl $(INSTALL_DIR) +install: installgetter installcgi -distclean: +uninstall: uninstallcgi uninstallgetter + +installgetter: + cp http_getter.pl $(INSTALL_DIR)/ + +installcgi: + for f in *.cgi; do \ + if [ -f $$f ]; then \ + cp -f $$f $(CGI_DIR)/; \ + fi; \ + done + +uninstallgetter: + rm $(INSTALL_DIR)/http_getter.pl + +uninstallcgi: + for f in *.cgi; do \ + rm -f $(CGI_DIR)/$$f; \ + done + +clean: + +distclean: clean rm -f Makefile configure config.log config.cache config.status \ http_getter.pl *.spec