summaryrefslogblamecommitdiff
path: root/GNUmakefile
blob: 019a783cf22b6a8af11a3c00a150557836f9009d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          
                              

                        
           
 


                                                                                                                         
      
                 
 


                        
                                
                  

                       
TRAC := $(shell find raw-wiki-dump -type f -name '*.trac')
OUT  := ${TRAC:.trac=.md} TAGS
TOOL := tools/trac2md.py

all: ${OUT}

fetch:
	rsync -aP --delete bikeshed.cryptech.is:/home/trac/db/trac.db bikeshed.cryptech.is:/home/trac/files/attachments .

clean:
	rm ${OUT}

TAGS: ${TRAC}
	etags -l none $^

%.md: %.trac GNUmakefile ${TOOL}
	${TOOL} $<

.PHONY: all clean fetch