mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 21:57:02 +02:00
luakit: generate documentation
This commit is contained in:
parent
08f37d3b6d
commit
8d08b5dc78
2 changed files with 2 additions and 42 deletions
|
@ -1,40 +0,0 @@
|
|||
--- a/Makefile 2022-08-30 17:17:46.000000000 +0200
|
||||
+++ b/Makefile 2022-09-09 13:20:16.288047152 +0200
|
||||
@@ -17,7 +17,7 @@
|
||||
# Must be kept in sync with doc/docgen.ld
|
||||
DOC_SRCS = $(filter-out lib/markdown.lua lib/lousy/init.lua,$(shell for d in doc/luadoc lib common/clib; do find $$d -type f; done)) tests/lib.lua
|
||||
|
||||
-all: options newline luakit luakit.1.gz luakit.so apidoc
|
||||
+all: options newline luakit luakit.1.gz luakit.so
|
||||
|
||||
options:
|
||||
@echo luakit build options:
|
||||
@@ -80,28 +80,11 @@
|
||||
luakit.1.gz: luakit.1
|
||||
@gzip -c $< > $@
|
||||
|
||||
-doc/apidocs/index.html: $(DOC_SRCS) $(wildcard build-utils/docgen/*)
|
||||
- rm -rf doc/apidocs
|
||||
- mkdir doc/apidocs
|
||||
- $(LUA_BIN_NAME) ./build-utils/docgen/makedoc.lua
|
||||
-
|
||||
-apidoc: doc/apidocs/index.html
|
||||
-
|
||||
-doc: buildopts.h $(THEAD) $(TSRC)
|
||||
- doxygen -s doc/luakit.doxygen
|
||||
-
|
||||
-clean:
|
||||
- rm -rf doc/apidocs doc/html luakit $(OBJS) $(EXT_OBJS) $(TSRC) $(THEAD) buildopts.h luakit.1 luakit.1.gz luakit.so
|
||||
-
|
||||
install: all
|
||||
install -d $(DESTDIR)$(DOCDIR)/classes
|
||||
install -d $(DESTDIR)$(DOCDIR)/modules
|
||||
install -d $(DESTDIR)$(DOCDIR)/pages
|
||||
install -m644 README.md AUTHORS COPYING.GPLv3 $(DESTDIR)$(DOCDIR)
|
||||
- install -m644 doc/apidocs/classes/* $(DESTDIR)$(DOCDIR)/classes
|
||||
- install -m644 doc/apidocs/modules/* $(DESTDIR)$(DOCDIR)/modules
|
||||
- install -m644 doc/apidocs/pages/* $(DESTDIR)$(DOCDIR)/pages
|
||||
- install -m644 doc/apidocs/*.html $(DESTDIR)$(DOCDIR)
|
||||
install -d $(DESTDIR)$(PREFIX)/share/luakit/lib/lousy/widget
|
||||
install -m644 lib/*.* $(DESTDIR)$(PREFIX)/share/luakit/lib
|
||||
install -m644 lib/lousy/*.* $(DESTDIR)$(PREFIX)/share/luakit/lib/lousy
|
|
@ -2,13 +2,13 @@
|
|||
pkgname=luakit
|
||||
reverts="2017.08.10_1"
|
||||
version=2.3.6
|
||||
revision=1
|
||||
revision=2
|
||||
conf_files="/etc/xdg/luakit/*.lua"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="DEVELOPMENT_PATHS=0 LUA_BIN_NAME=luajit USE_LUAJIT=1 VERSION=${version}"
|
||||
make_use_env=yes
|
||||
make_check_target=run-tests
|
||||
hostmakedepends="pkg-config LuaJIT"
|
||||
hostmakedepends="pkg-config LuaJIT lua51-luafilesystem"
|
||||
makedepends="libwebkit2gtk41-devel LuaJIT-devel"
|
||||
depends="lua51-luafilesystem"
|
||||
short_desc="Fast, small, webkit based browser framework extensible by Lua"
|
||||
|
|
Loading…
Add table
Reference in a new issue