aboutsummaryrefslogblamecommitdiffstats
path: root/plugins/edoc.mk
blob: 6f0a82dbbfb613788c5a8e3b899616f836f8efd2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                            

                                                                             
                           






                
                          




                          

                                                                                                
 

                                                                         
# Copyright (c) 2013-2015, Loïc Hoguin <[email protected]>
# This file is part of erlang.mk and subject to the terms of the ISC License.

.PHONY: distclean-edoc edoc

# Configuration.

EDOC_OPTS ?=

# Core targets.

docs:: distclean-edoc edoc

distclean:: distclean-edoc

# Plugin-specific targets.

edoc: doc-deps
	$(gen_verbose) $(ERL) -eval 'edoc:application($(PROJECT), ".", [$(EDOC_OPTS)]), halt().'

distclean-edoc:
	$(gen_verbose) rm -f doc/*.css doc/*.html doc/*.png doc/edoc-info