mirror of https://gitee.com/openkylin/imwheel.git
Remove makefile function which attempted to install files
directly (not compatible with packaging). Last-Update: 2010-02-20 Gbp-Pq: Name makefile-update
This commit is contained in:
parent
2f96fa0367
commit
9663f34954
15
Makefile.am
15
Makefile.am
|
@ -1,4 +1,4 @@
|
|||
SUBDIRS=jax @getopt@ @mdetect@ @gpm_imwheel@
|
||||
SUBDIRS=jax getopt @mdetect@ @gpm_imwheel@
|
||||
|
||||
bin_PROGRAMS=imwheel
|
||||
|
||||
|
@ -22,19 +22,6 @@ dist-hook:
|
|||
find $(distdir) -name CVS -exec rm -rvf '{}' ';' ; \
|
||||
done
|
||||
|
||||
ETCDIR=/etc/X11/imwheel
|
||||
|
||||
install-exec-hook:
|
||||
if SUID
|
||||
progname=$(DESTDIR)$(bindir)/`echo imwheel|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` ; \
|
||||
chown @suid@ $$progname ; \
|
||||
chmod u+s $$progname
|
||||
endif
|
||||
$(mkinstalldirs) $(ETCDIR)
|
||||
-[ -f /etc/imwheelrc ] && mv /etc/imwheelrc $(ETCDIR)/imwheelrc || true
|
||||
-[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc $(ETCDIR)/imwheelrc || true
|
||||
-[ -f $(ETCDIR)/imwheelrc ] && install -m 644 imwheelrc $(ETCDIR)/imwheelrc.new || install -m 644 imwheelrc $(ETCDIR)/imwheelrc
|
||||
|
||||
extras: $(EXTRA_PROGRAMS)
|
||||
|
||||
if NO_GPM_DOC
|
||||
|
|
Loading…
Reference in New Issue