diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2012-11-08 02:58:39 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-11-08 03:02:38 +0100 |
commit | 3dd9fca200d121517a7ba25ad8ba9a0a98b320a7 (patch) | |
tree | de56b56db52be534aa06263530ed495349cace86 /kapptemplate/admin | |
parent | 59a2f3d91922f06ca842abb8680fade79994d4ec (diff) | |
download | tdesdk-3dd9fca200d121517a7ba25ad8ba9a0a98b320a7.tar.gz tdesdk-3dd9fca200d121517a7ba25ad8ba9a0a98b320a7.zip |
Fix various cmake build issues
Fix automake build issue in kapptemplate
Diffstat (limited to 'kapptemplate/admin')
-rw-r--r-- | kapptemplate/admin/CMakeLists.txt | 7 | ||||
-rw-r--r-- | kapptemplate/admin/Makefile.am | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/kapptemplate/admin/CMakeLists.txt b/kapptemplate/admin/CMakeLists.txt index 8b0806d2..56076c9f 100644 --- a/kapptemplate/admin/CMakeLists.txt +++ b/kapptemplate/admin/CMakeLists.txt @@ -9,4 +9,9 @@ # ################################################# -tde_install_empty_directory( ${DATA_INSTALL_DIR}/kapptemplate/admin ) +install( + DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../admin/ + DESTINATION ${DATA_INSTALL_DIR}/kapptemplate/admin + USE_SOURCE_PERMISSIONS + REGEX "Makefile(|\\.in|\\.am)$|.*-orig$" EXCLUDE +) diff --git a/kapptemplate/admin/Makefile.am b/kapptemplate/admin/Makefile.am index fef6965c..16847934 100644 --- a/kapptemplate/admin/Makefile.am +++ b/kapptemplate/admin/Makefile.am @@ -1,8 +1,8 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/kapptemplate/admin for file in $(srcdir)/*; do \ - if [ -f $$file -a $$file != 'Makefile' -a $$file != 'Makefile.in' -a $$file != 'Makefile.am' ]; then \ - destfile=`basename $$file` \ + destfile=`basename $$file`; \ + if [ -f $$file -a $$destfile != 'Makefile' -a $$destfile != 'Makefile.in' -a $$destfile != 'Makefile.am' ]; then \ $(INSTALL_DATA) $$file \ $(DESTDIR)$(kde_datadir)/kapptemplate/admin/$$destfile; \ fi \ |