Makefile: made the htdocs rule a little bit more intelligent.
This commit is contained in:
parent
c19a9873b0
commit
5db3d2fe63
3
Makefile
3
Makefile
|
@ -48,7 +48,8 @@ upload:
|
||||||
|
|
||||||
doc: archivemail.1 archivemail.html
|
doc: archivemail.1 archivemail.html
|
||||||
|
|
||||||
htdocs: index.html archivemail.html RELNOTES style.css manpage.css
|
htdocs: $(HTDOCS).tgz
|
||||||
|
$(HTDOCS).tgz: index.html archivemail.html RELNOTES style.css manpage.css
|
||||||
install -d -m 775 $(HTDOCS)
|
install -d -m 775 $(HTDOCS)
|
||||||
install -m 664 $^ $(HTDOCS)
|
install -m 664 $^ $(HTDOCS)
|
||||||
cd $(HTDOCS) && mv archivemail.html manpage.html
|
cd $(HTDOCS) && mv archivemail.html manpage.html
|
||||||
|
|
Loading…
Reference in New Issue