Source reconstructed at patch state 1 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
# $Id: Makefile,v 1.3 2001/12/02 11:00:05 loreti Exp $ |
| 2 |
|
| 3 |
CFLAGS += -ansi -pedantic -Wall `pkg-config --cflags libconfig` |
| 4 |
#CFLAGS = -ansi -Wall -g `pkg-config --cflags libconfig` |
| 5 |
LIBS += `pkg-config --libs libconfig` |
| 6 |
|
| 7 |
ROOT = debian/lintex/usr |
| 8 |
|
| 9 |
.PHONY: install clean |
| 10 |
|
| 11 |
lintex: lintex.c Makefile |
| 12 |
$(CC) $(CXXFLAGS) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ lintex.c $(LIBS) |
| 13 |
|
| 14 |
install: lintex |
| 15 |
strip lintex |
| 16 |
mv lintex $(ROOT)/bin |
| 17 |
# Handle this in packaging |
| 18 |
#cp lintex.1 $(ROOT)/man/man1 |
| 19 |
|
| 20 |
lintex.pdf: lintex.1 |
| 21 |
groff -man -Tps $< | ps2pdf - $@ |
| 22 |
|
| 23 |
clean: |
| 24 |
-rm *~ *.o core |
| 25 |
-rm lintex lintex.pdf |