|
|
Makefile - pointtools - Simple point utilities to hold text presentations. |
|
|
 |
git clone git://bitreich.org/pointtools/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/pointtools/ (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
Makefile (975B) |
|
|
|
--- |
|
|
|
1 # See LICENSE for license details. |
|
|
|
2 |
|
|
|
3 include config.mk |
|
|
|
4 |
|
|
|
5 all: options bin/md2point |
|
|
|
6 |
|
|
|
7 options: |
|
|
|
8 @echo pointtools build options: |
|
|
|
9 @echo "CFLAGS = ${CFLAGS}" |
|
|
|
10 @echo "LDFLAGS = ${LDFLAGS}" |
|
|
|
11 @echo "CC = ${CC}" |
|
|
|
12 |
|
|
|
13 bin/md2point: md2point.o |
|
|
|
14 ${CC} -o $@ md2point.o ${LDFLAGS} |
|
|
|
15 |
|
|
|
16 .c.o: |
|
|
|
17 ${CC} -c ${CFLAGS} $< |
|
|
|
18 |
|
|
|
19 install: |
|
|
|
20 mkdir -p $(DESTDIR)$(PREFIX)/bin |
|
|
|
21 install -m 755 bin/dir2point $(DESTDIR)$(PREFIX)/bin/dir2point |
|
|
|
22 install -m 755 bin/md2point $(DESTDIR)$(PREFIX)/bin/md2point |
|
|
|
23 install -m 755 bin/point2pdf $(DESTDIR)$(PREFIX)/bin/point2pdf |
|
|
|
24 install -m 755 bin/pptx2md $(DESTDIR)$(PREFIX)/bin/pptx2md |
|
|
|
25 mkdir -p $(DESTDIR)$(MANPREFIX)/man1 |
|
|
|
26 install -m 644 md2point.1 $(DESTDIR)$(MANPREFIX)/man1/md2point.1 |
|
|
|
27 |
|
|
|
28 uninstall: |
|
|
|
29 rm -f $(DESTDIR)$(PREFIX)/bin/dir2point |
|
|
|
30 rm -f $(DESTDIR)$(PREFIX)/bin/md2point |
|
|
|
31 rm -f $(DESTDIR)$(PREFIX)/bin/point2pdf |
|
|
|
32 rm -f $(DESTDIR)$(MANPREFIX)/man1/md2point.1 |
|
|
|
33 |
|
|
|
34 clean: |
|
|
|
35 rm -f bin/md2point |
|
|
|
36 rm -f md2point.o |
|
|
|
37 |
|
|
|
38 .PHONY: all options install uninstall clean |
|