[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #4000 [Website]: 'make clean' on website doesn't remove html files that have no parent wml file
#4000: 'make clean' on website doesn't remove html files that have no parent wml
file
---------------------+------------------------------------------------------
Reporter: arma | Owner: phobos
Type: defect | Status: new
Priority: normal | Milestone:
Component: Website | Version:
Keywords: | Parent:
Points: | Actualpoints:
---------------------+------------------------------------------------------
Comment(by arma):
This does the job for me:
{{{
Index: Makefile.common
===================================================================
--- Makefile.common (revision 25062)
+++ Makefile.common (working copy)
@@ -305,7 +305,7 @@
dep: $(DEPFILES)
clean:
- rm -f $(HTMLFILES) $(DEPFILES)
+ rm -f *.html.* $(DEPFILES)
for sub in $(SUBDIRS); do \
$(MAKE) -C "$$sub" WMLBASE=../$(WMLBASE) clean; \
done
}}}
Is there any reason it's a bad idea? (We do not have *.html.* files
sitting around that are not autogenerated yet we want to keep.)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/4000#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs