[packages/adapter: 422/631] - _gtkdocdir handling

glen glen at pld-linux.org
Mon Sep 12 20:09:49 CEST 2016


commit 7cb79e987f31a2647d9916d07d8940ff590a09df
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Sep 25 11:19:11 2008 +0000

    - _gtkdocdir handling
    
    Changed files:
        adapter.awk -> 1.402

 adapter.awk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 5e13caa..d21ee05 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -80,6 +80,7 @@ BEGIN {
 	"rpm --eval %_examplesdir"	| getline examplesdir
 	"rpm --eval %_defaultdocdir"	| getline docdir
 	"rpm --eval %_kdedocdir"	| getline kdedocdir
+	"rpm --eval %_gtkdocdir"	| getline gtkdocdir
 	"rpm --eval %_desktopdir" | getline desktopdir
 	"rpm --eval %_pixmapsdir" | getline pixmapsdir
 	"rpm --eval %_javadir" | getline javadir
@@ -1186,8 +1187,13 @@ function use_macros()
 		gsub(sysconfdir, "%{_sysconfdir}", $c)
 	}
 
-	gsub(kdedocdir, "%{_kdedocdir}")
 	gsub(docdir, "%{_docdir}")
+
+	gsub(kdedocdir, "%{_kdedocdir}")
+
+	gsub(gtkdocdir, "%{_gtkdocdir}")
+	gsub("%{_docdir}/gtk-doc/html", "%{_gtkdocdir}")
+
 	gsub(php_pear_dir, "%{php_pear_dir}")
 	gsub(php_data_dir, "%{php_data_dir}")
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list