1 include Makefile.config
5 .PHONY
: all byte opt doc
21 .PHONY
: run.local run.opt.local top
23 run.local
: tests.byte fifo
24 ocsigenserver
-c local
/etc
/${PROJECTNAME}.conf
29 run.opt.local
: tests.opt fifo
30 ocsigenserver.opt
-c local
/etc
/${PROJECTNAME}.conf
36 [ -p local
/var
/run
/${PROJECTNAME}_command
] || \
37 { mkfifo local
/var
/run
/${PROJECTNAME}_command
; \
38 chmod
660 local
/var
/run
/${PROJECTNAME}_command
; }
45 ${MAKE} -C tests
clean
48 -rm -f
$(PROJECTNAME
)-*.
tar.gz
50 distclean: clean.local
51 ${MAKE} -C src
distclean
52 ${MAKE} -C tests
distclean
59 .PHONY
: install uninstall reinstall
62 $(MAKE
) -C src
install
64 @echo
"## Run \"make doc\" and \"make install.doc\" to build and install the ocamldoc."
66 $(MAKE
) -C src
install.byte
68 $(MAKE
) -C src
install.opt
71 -$(MAKE
) -C src
uninstall
74 $(MAKE
) -C src reinstall
76 $(MAKE
) -C src reinstall.byte
78 $(MAKE
) -C src reinstall.opt
81 ${MAKE} -C doc
install
87 VERSION
:= $(shell head
-n
1 VERSION
)
89 DARCS_REPO
=$(PWD
) darcs
dist -d
$(PROJECTNAME
)-$(VERSION
)
97 ${MAKE} -C src files
/META.
${PROJECTNAME} depend
98 ${MAKE} -C tests depend