Skip to content
Snippets Groups Projects
Commit f540059b authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/jafar-gdhe] Add a patch to fix header list to install

In particular, avoid to install *.orig or *.rej file, generated by
patch(1).
parent a7e91ec1
No related branches found
No related tags found
No related merge requests found
PKGVERSION= 0.1
PKGREVISION= 1
PKGREVISION= 2
DISTNAME= jafar-gdhe-0.1
PKGNAME= jafar-gdhe-0.1
CATEGORIES= wip
......
......@@ -2,3 +2,4 @@ SHA1 (jafar-gdhe-0.1.tar.gz) = 111dacc0840e84313f4b0ed5acf9c90cbf36d385
RMD160 (jafar-gdhe-0.1.tar.gz) = 84a10b3396fbe60c32e6a31e2c8f442974b30623
Size (jafar-gdhe-0.1.tar.gz) = 42156 bytes
SHA1 (patch-aa) = 5c9a4214aa17697ca4f0540888e146dec09dd73e
SHA1 (patch-ab) = 1d95730de2f1a178df6d28ca2debe71976c29f91
Improve pattern used to install module_headers (in particular, avoid installing
.orig files or temporary emacs files)
--- CMakeLists.txt.orig 2011-12-28 14:20:11.679766922 +0100
+++ CMakeLists.txt 2011-12-28 14:26:36.143776744 +0100
@@ -110,7 +110,10 @@
# add module headers
-file(GLOB module_headers ${jafar-gdhe_SOURCE_DIR}/include/gdhe/*.h*)
+file(GLOB module_h ${jafar-gdhe_SOURCE_DIR}/include/gdhe/*.h)
+file(GLOB module_hh ${jafar-gdhe_SOURCE_DIR}/include/gdhe/*.hh)
+file(GLOB module_hpp ${jafar-gdhe_SOURCE_DIR}/include/gdhe/*.hpp)
+set(module_headers "${module_h};${module_hh};${module_hpp}")
# add sources
file(GLOB module_sources ${jafar-gdhe_SOURCE_DIR}/src/*.cpp)
#remove jafarConfig.h from included headers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment