~nabijaczleweli/wg14

ref: 902e53f1606facc4ca71b90b234bb0b588ee02b1 wg14/Makefile -rw-r--r-- 242 bytes
902e53f1наб im stuff 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# SPDX-License-Identifier: 0BSD

PAGES = $(wildcard [Nn]*.mom)

.PHONY : all pages clean

all : pages
pages : $(patsubst %.mom,$(DESTDIR)%.pdf,$(PAGES))

clean :
	rm -f *.pdf

$(DESTDIR)%.pdf : %.mom
	pdfmom -Tps -K utf-8 -t $^ | ps2pdf - $@