]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added conditional compilation of installation-helper (gh#openSUSE/snapper#202) 205/head
authorArvin Schnell <aschnell@suse.de>
Wed, 14 Oct 2015 11:54:06 +0000 (13:54 +0200)
committerArvin Schnell <aschnell@suse.de>
Wed, 14 Oct 2015 11:54:06 +0000 (13:54 +0200)
client/Makefile.am
package/snapper.changes

index 8652a01515cb403e6420b524073676d260710bc6..c026e8b45db518f4721bc88eb343fee490a1006f 100644 (file)
@@ -18,20 +18,23 @@ snapper_SOURCES =                   \
 
 snapper_LDADD = ../snapper/libsnapper.la utils/libutils.la ../dbus/libdbus.la
 
-if ENABLE_ROLLBACK
+libexecdir = /usr/lib/snapper
 
-sbin_PROGRAMS = mksubvolume
+libexec_PROGRAMS = systemd-helper
 
-mksubvolume_SOURCES =                  \
-       mksubvolume.cc
-
-mksubvolume_LDADD = ../snapper/libsnapper.la utils/libutils.la
+systemd_helper_SOURCES =               \
+       systemd-helper.cc               \
+       types.cc        types.h         \
+       commands.cc     commands.h      \
+       cleanup.cc      cleanup.h       \
+       misc.cc         misc.h          \
+       errors.cc       errors.h
 
-endif
+systemd_helper_LDADD = ../snapper/libsnapper.la utils/libutils.la ../dbus/libdbus.la
 
-libexecdir = /usr/lib/snapper
+if ENABLE_BTRFS
 
-libexec_PROGRAMS = installation-helper systemd-helper
+libexec_PROGRAMS += installation-helper
 
 installation_helper_SOURCES =          \
        installation-helper.cc          \
@@ -39,13 +42,16 @@ installation_helper_SOURCES =               \
 
 installation_helper_LDADD = ../snapper/libsnapper.la utils/libutils.la
 
-systemd_helper_SOURCES =               \
-       systemd-helper.cc               \
-       types.cc        types.h         \
-       commands.cc     commands.h      \
-       cleanup.cc      cleanup.h       \
-       misc.cc         misc.h          \
-       errors.cc       errors.h
+if ENABLE_ROLLBACK
 
-systemd_helper_LDADD = ../snapper/libsnapper.la utils/libutils.la ../dbus/libdbus.la
+sbin_PROGRAMS = mksubvolume
+
+mksubvolume_SOURCES =                  \
+       mksubvolume.cc
+
+mksubvolume_LDADD = ../snapper/libsnapper.la utils/libutils.la
+
+endif
+
+endif
 
index bfa8509fb45f88cdd369ec429eeba04cad9ae76d..16bae799332666e61af12c4ac56fa4bd6918638a 100644 (file)
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Wed Oct 14 13:52:10 CEST 2015 - aschnell@suse.com
+
+- added conditional compilation of installation-helper
+  (gh#openSUSE/snapper#202)
+
 -------------------------------------------------------------------
 Tue Sep 22 16:51:23 CEST 2015 - aschnell@suse.com