summaryrefslogtreecommitdiff
path: root/doc/Makefile.nix
blob: 4028834b0b097595ad5a9c6279d6d538407f141c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#doc/Makefile
include ../config.nix

ifeq ($(HAS_DOXYGEN),yes)
docdir = $(prefix)/share/doc/openjpeg-$(MAJOR).$(MINOR)

all:
	doxygen Doxyfile.dox

install: all
	install -d $(docdir)
	cp -rf html $(docdir)
	cp -f ../license.txt ../ChangeLog $(docdir)

clean:
	rm -rf html

endif