summaryrefslogtreecommitdiff
path: root/cgi-bin/Makefile
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2016-04-12 07:00:21 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2016-04-12 07:00:21 -0400
commitd825017aa0d372b0c72e777b7fd7b4e61a2f544e (patch)
treed76489c67281d9f6c7db017c6bfce414deaad7f8 /cgi-bin/Makefile
parent27453efb8716d3d28f2d79ab0895eae484868168 (diff)
downloadcups-d825017aa0d372b0c72e777b7fd7b4e61a2f544e.tar.gz
Drop API help for CGI, MIME, and PPD compiler libraries.
Don't uninstall public headers, these are all now private headers.
Diffstat (limited to 'cgi-bin/Makefile')
-rw-r--r--cgi-bin/Makefile30
1 files changed, 5 insertions, 25 deletions
diff --git a/cgi-bin/Makefile b/cgi-bin/Makefile
index 1ebef2ed7..6bc1dbaeb 100644
--- a/cgi-bin/Makefile
+++ b/cgi-bin/Makefile
@@ -179,31 +179,11 @@ uninstall:
$(RM) $(LIBDIR)/libcupscgi.so
$(RM) $(LIBDIR)/libcupscgi.so.1
-$(RMDIR) $(LIBDIR)
- $(RM) $(INCLUDEDIR)/cups/cgi.h
- $(RM) $(INCLUDEDIR)/cups/help-index.h
- -$(RMDIR) $(INCLUDEDIR)/cups
-
-
-#
-# Automatic API help files...
-#
-
-apihelp:
- mxmldoc --section "Programming" \
- --title "CGI API" \
- --css ../doc/cups-printable.css \
- --header api-cgi.header --intro api-cgi.shtml \
- cgi.h help-index.h $(LIBOBJS:.o=.c) >../doc/help/api-cgi.html
- mxmldoc --tokens help/api-cgi.html api-cgi.xml >../doc/help/api-cgi.tokens
- $(RM) api-cgi.xml
-
-framedhelp:
- mxmldoc --framed api-cgi \
- --section "Programming" \
- --title "CGI API" \
- --css ../doc/cups-printable.css \
- --header api-cgi.header --intro api-cgi.shtml \
- cgi.h help-index.h $(LIBOBJS:.o=.c)
+ -if test "x$(privateinclude)" != x; then \
+ $(RM) $(PRIVATEINCLUDE)/cgi.h; \
+ $(RM) $(PRIVATEINCLUDE)/help-index.h; \
+ $(RMDIR) $(PRIVATEINCLUDE); \
+ fi
#