3 .PHONY
: all clean depend uclean
11 rm -f
`find . -name "*~"`
12 rm -f
`find . -name "#*"`
13 rm -f graph
/core.so
$(LUAGRAPH_SO
)
16 .PHONY
: install uninstall install-doc uninstall-doc
19 mkdir
-p
$(INSTALL_SHARE
) $(INSTALL_LIB
)/graph
20 $(INSTALL_DATA
) graph.lua
$(INSTALL_SHARE
)
21 cd src
&& $(INSTALL_COPY
) $(LUAGRAPH_SO
) $(INSTALL_LIB
)/graph
/core.
$(EXT
)
24 rm -rf
$(INSTALL_SHARE
)/graph.lua
25 rm -rf
$(INSTALL_LIB
)/graph
28 mkdir
-p
$(INSTALL_DOC
)/html
29 cd doc
&& $(INSTALL_COPY
) * $(INSTALL_DOC
)/html
36 $(LUABIN
) test/test.lua
39 $(LUABIN
) test/test.lua DEBUG
41 .PHONY
: tag tag-git tag-cvs tag-svn
51 .PHONY
: dist dist-git dist-cvs dist-svn
56 git archive
--format
=tar --prefix=$(DISTNAME
)/ HEAD | gzip
>$(EXPORTDIR
)/$(DISTARCH
)
59 mkdir
-p
$(EXPORTDIR
)/$(DISTNAME
)
60 cvs
export -r latest
-d
$(EXPORTDIR
)/$(DISTNAME
) $(CVSMODULE
)
61 cd
$(EXPORTDIR
); tar -cvzf
$(DISTNAME
).
tar.gz
$(DISTNAME
)/*
62 rm -rf
$(EXPORTDIR
)/$(DISTNAME
)
65 svn
export $(REPOSITORY
)/$(SVNMODULE
) $(EXPORTDIR
)/$(DISTNAME
)
66 cd
$(EXPORTDIR
); tar -cvzf
$(DISTARCH
) $(DISTNAME
)/*
67 rm -rf
$(EXPORTDIR
)/$(DISTNAME
)