1
Fork 0

install NEWS, AUTHORS, gpl2 and cdbus-1.pc

This commit is contained in:
Nedko Arnaudov 2023-04-28 18:12:45 +03:00
parent f44cbc6836
commit f1fb84cb4d
6 changed files with 35 additions and 13 deletions

2
AUTHORS Normal file
View File

@ -0,0 +1,2 @@
Nedko Arnaudov
Juuso Alasuutari

1
AUTHORS.tail Normal file
View File

@ -0,0 +1 @@
Juuso Alasuutari

View File

@ -20,3 +20,8 @@ default:
.PHONY: README.html .PHONY: README.html
README.html: README.html:
asciidoc -b html5 -a data-uri -a icons --theme ladi -o README.html README.adoc asciidoc -b html5 -a data-uri -a icons --theme ladi -o README.html README.adoc
.PHONY: AUTHORS.regenerate
AUTHORS.regenerate:
git shortlog -sn -- wscript . | sed -E 's@^\s+\S+\s+(.+)@\1@' > AUTHORS
cat AUTHORS.tail >> AUTHORS

1
NEWS.adoc Normal file
View File

@ -0,0 +1 @@
== Initial dev release, April 53 (2023)

10
cdbus-1.pc.in Normal file
View File

@ -0,0 +1,10 @@
prefix=@prefix@
libdir=@libdir@
includedir=@includedir@
Name: cdbus
Description: libdbus helper library
Version: 1.0.0
Libs: -L${libdir} -lcdbus
Libs.static:
Cflags: -I${includedir}/cdbus-1

29
wscript
View File

@ -202,20 +202,23 @@ def build(bld):
'cdbus.h', 'cdbus.h',
]) ])
# process lash-1.0.pc.in -> lash-1.0.pc # process cdbus-1.pc.in -> cdbus-1.pc
# bld( bld(
# features = 'subst', # the feature 'subst' overrides the source/target processing features = 'subst', # the feature 'subst' overrides the source/target processing
# source = os.path.join("lash_compat", 'lash-1.0.pc.in'), # list of string or nodes source = 'cdbus-1.pc.in', # list of string or nodes
# target = 'lash-1.0.pc', # list of strings or nodes target = 'cdbus-1.pc', # list of strings or nodes
# install_path = '${LIBDIR}/pkgconfig/', install_path = '${LIBDIR}/pkgconfig/',
# # variables to use in the substitution # variables to use in the substitution
# prefix = bld.env['PREFIX'], prefix = bld.env['PREFIX'],
# exec_prefix = bld.env['PREFIX'], libdir = bld.env['LIBDIR'],
# libdir = bld.env['LIBDIR'], includedir = os.path.normpath(bld.env['PREFIX'] + '/include'))
# includedir = os.path.normpath(bld.env['PREFIX'] + '/include'))
# bld.install_files('${DOCDIR}', ["AUTHORS", "README.adoc", "NEWS"]) bld.install_files('${DOCDIR}', [
# bld.install_as('${DATA_DIR}/COPYING', "gpl2.txt") "NEWS.adoc",
"README.adoc",
"gpl2.txt",
"AUTHORS",
])
# if bld.env['BUILD_DOXYGEN_DOCS'] == True: # if bld.env['BUILD_DOXYGEN_DOCS'] == True:
# html_docs_source_dir = "build/default/html" # html_docs_source_dir = "build/default/html"