File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ DEBUG=$(GDBON) -DDEBUG -DXXDEBUG
6565# The list of documentation files we wish to install
6666DOCFILES_TO_INST =AUTHORS CHANGELOG HISTORY README.md INSTALL LICENSE database/usenet.db_struct database/mysql_db_struct.sql
6767MANPAGES =docs/wendzelnntpd.8 docs/wendzelnntpadm.8 docs/create_certificate.8
68- HTML_DOC_DIRS =$(shell cd docs/ && find site/ -type d)
6968
7069all : wendzelnntpadm main.o log.o database.o cdpstrings.o server.o lexyacc charstack.o libfunc.o acl.o db_abstraction.o hash.o $(SQLITEOBJ ) $(MYSQLOBJ ) $(POSTGRESOBJ ) $(OPENSSLOBJ ) globals.o scripts/startup/init.d_script create_certificate docs/create_certificate.8 wendzelnntpd.conf
7170 expr ` cat build` \+ 1 > build
@@ -234,11 +233,15 @@ uninstall :
234233 # data files
235234 -rm -f $(DESTDIR )$(package_datadir ) /openssl.cnf
236235 # documentation
237- -cd $(DESTDIR )$(docdir ) / && rm -f $(notdir $(DOCFILES_TO_INST ) )
236+ -cd $(DESTDIR )$(docdir ) / && for f in $( DOCFILES_TO_INST) ; do \
237+ rm -f `basename $$f`; \
238+ done
238239 -rm -f $(DESTDIR)$(docdir)/docs.pdf
239240 -rm -rf $(DESTDIR)$(docdir)/site/
240241 # manpages
241- -cd $(DESTDIR )$(man8dir ) && rm -f $(notdir $(MANPAGES ) )
242+ -cd $(DESTDIR)$(man8dir) && for f in $(MANPAGES); do \
243+ rm -f `basename $$f`; \
244+ done
242245 # directories
243246 -rmdir $(DESTDIR)$(confdir)
244247 -rmdir $(DESTDIR)$(sbindir)
You can’t perform that action at this time.
0 commit comments