[tor-bugs] #4000 [Website]: 'make clean' on website doesn't remove html files that have no parent wml file
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Sep 12 09:27:44 UTC 2011
#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
More information about the tor-bugs
mailing list