##// END OF EJS Templates
Add locate command....
Add locate command. # HG changeset patch # User Bryan O'Sullivan <bos@serpentine.com> # Node ID ebf5eba347a17a5c09000b3342caf350cd060a1b # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Add locate command. Used for finding files with names that match specific patterns, such as "*.c". This patch also introduces localrepository.getcwd, which returns the current directory relative to the repository root.

File last commit:

r465:f8cb8d08 default
r627:b6c42714 default
Show More
Makefile
22 lines | 327 B | text/x-makefile | MakefileLexer
SOURCES=$(wildcard *.1.txt)
MAN=$(SOURCES:%.1.txt=%.1)
HTML=$(SOURCES:%.1.txt=%.1.html)
all: man
man: $(MAN)
html: $(HTML)
%.1: %.1.xml
xmlto man $*.1.xml
%.1.xml: %.1.txt
asciidoc -d manpage -b docbook $*.1.txt
%.1.html: %.1.txt
asciidoc -b html $*.1.txt
clean:
$(RM) $(MAN) $(MAN:%.1=%.1.xml) $(MAN:%.1=%.1.html)