mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
(initial) pkg-config stuff for the main package
This commit is contained in:
parent
b1b87b4671
commit
b4ff94abdc
4 changed files with 22 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
## Process this file with automake to produce Makefile.in
|
## Process this file with automake to produce Makefile.in
|
||||||
AUTOMAKE_OPTIONS= foreign
|
AUTOMAKE_OPTIONS= foreign
|
||||||
|
|
||||||
SUBDIRS= RPM debian doc include libs hw nq qtv qw tools ruamoko
|
SUBDIRS= RPM debian doc include libs hw nq qtv qw tools ruamoko pkg-config
|
||||||
|
|
||||||
## configure.ac needs to be listed here for older autoconfs
|
## configure.ac needs to be listed here for older autoconfs
|
||||||
EXTRA_DIST= ChangeLog configure.ac \
|
EXTRA_DIST= ChangeLog configure.ac \
|
||||||
|
|
|
@ -1378,6 +1378,7 @@ elif test "x$userpath" = xno; then
|
||||||
userpath="."
|
userpath="."
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED(FS_USERPATH, "$userpath", [Define this to the unshared game directory root])
|
AC_DEFINE_UNQUOTED(FS_USERPATH, "$userpath", [Define this to the unshared game directory root])
|
||||||
|
AC_SUBST(userpath)
|
||||||
|
|
||||||
AC_ARG_WITH(plugin-path,
|
AC_ARG_WITH(plugin-path,
|
||||||
[ --with-plugin-path=DIR Use DIR for loading plugins, defaults to
|
[ --with-plugin-path=DIR Use DIR for loading plugins, defaults to
|
||||||
|
@ -2344,6 +2345,9 @@ AC_OUTPUT(
|
||||||
ruamoko/cl_menu/Makefile
|
ruamoko/cl_menu/Makefile
|
||||||
ruamoko/scheme/Makefile
|
ruamoko/scheme/Makefile
|
||||||
|
|
||||||
|
pkg-config/Makefile
|
||||||
|
pkg-config/quakeforge.pc
|
||||||
|
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/quakeforge.dox
|
doc/quakeforge.dox
|
||||||
doc/man/Makefile
|
doc/man/Makefile
|
||||||
|
|
5
pkg-config/Makefile.am
Normal file
5
pkg-config/Makefile.am
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
pkgdatadir=@libdir@/pkgconfig
|
||||||
|
|
||||||
|
pkgdata_DATA=quakeforge.pc
|
||||||
|
|
||||||
|
EXTRA_DIST=quakeforge.pc.in
|
12
pkg-config/quakeforge.pc.in
Normal file
12
pkg-config/quakeforge.pc.in
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
fs_sharepath=@sharepath@
|
||||||
|
fs_userpath=@userpath@
|
||||||
|
|
||||||
|
Name: @PROGRAM@
|
||||||
|
Description: 3D game engine based on id Software's Quake engine
|
||||||
|
Version: @VERSION@
|
||||||
|
URL: http://quakeforge.net/
|
Loading…
Reference in a new issue