diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-11-09 00:10:35 +0000 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-11-09 00:10:35 +0000 |
commit | 29e6c350e4e26acab79564aa68a33d2ca8547cae (patch) | |
tree | e98d5e1e330c175c7adeb46bb5ebdcc87818ffe3 /src/modules | |
parent | e2d112bb23028b0106c6010789ba462d652e32ff (diff) | |
download | enlightenment-29e6c350e4e26acab79564aa68a33d2ca8547cae.tar.gz |
e/cpufreq: run the install data hook correctly
SVN revision: 79006
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/Makefile.am | 2 | ||||
-rw-r--r-- | src/modules/Makefile_cpufreq.am | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am index 8f7346de96..78789fa507 100644 --- a/src/modules/Makefile.am +++ b/src/modules/Makefile.am @@ -237,3 +237,5 @@ endif #if HAVE_WAYLAND_SCREENSHOT #include Makefile_wl_screenshot.am #endif + +install-data-hook: $(INSTALL_DATA_HOOKS) diff --git a/src/modules/Makefile_cpufreq.am b/src/modules/Makefile_cpufreq.am index 882c60caad..78b369e0d6 100644 --- a/src/modules/Makefile_cpufreq.am +++ b/src/modules/Makefile_cpufreq.am @@ -19,8 +19,11 @@ cpufreq_freqset_SOURCES = cpufreq/freqset.c cpufreq_freqset_CFLAGS = @e_cflags@ @SUID_CFLAGS@ cpufreq_freqset_LDFLAGS = @SUID_LDFLAGS@ +cpufreq_setuid_root_mode = a=rx,u+xs +cpufreq_setuid_root_user = root + cpufreq-install-data-hook: - @chown $(setuid_root_user) $(DESTDIR)$(freqsetdir)/freqset$(EXEEXT) || true - @chmod $(setuid_root_mode) $(DESTDIR)$(freqsetdir)/freqset$(EXEEXT) || true + @chown $(cpufreq_setuid_root_user) $(DESTDIR)$(freqsetdir)/freqset$(EXEEXT) || true + @chmod $(cpufreq_setuid_root_mode) $(DESTDIR)$(freqsetdir)/freqset$(EXEEXT) || true INSTALL_DATA_HOOKS += cpufreq-install-data-hook |