aboutsummaryrefslogtreecommitdiffstats
path: root/krootwarning
diff options
context:
space:
mode:
Diffstat (limited to 'krootwarning')
-rw-r--r--krootwarning/krootwarning/Makefile.am3
-rw-r--r--krootwarning/krootwarning/Makefile.in51
2 files changed, 39 insertions, 15 deletions
diff --git a/krootwarning/krootwarning/Makefile.am b/krootwarning/krootwarning/Makefile.am
index b6d4888..30a3f34 100644
--- a/krootwarning/krootwarning/Makefile.am
+++ b/krootwarning/krootwarning/Makefile.am
@@ -31,6 +31,9 @@ METASOURCES = AUTO
# the library search path.
krootwarning_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+autostart_DATA = krootwarning.desktop
+autostartdir = $(prefix)/share/autostart
+
messages:
LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
diff --git a/krootwarning/krootwarning/Makefile.in b/krootwarning/krootwarning/Makefile.in
index 9d83fa0..7655331 100644
--- a/krootwarning/krootwarning/Makefile.in
+++ b/krootwarning/krootwarning/Makefile.in
@@ -222,6 +222,9 @@ METASOURCES = AUTO
# the library search path.
krootwarning_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+
+autostart_DATA = krootwarning.desktop
+autostartdir = $(prefix)/share/autostart
mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =
@@ -252,15 +255,12 @@ CXXLD = $(CXX)
#>- CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
#>+ 1
CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON = Makefile.am Makefile.in
-
+DATA = $(autostart_DATA)
-#>- DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-#>+ 4
-KDE_DIST=ic-attention-64.png
+DIST_COMMON = Makefile.am Makefile.in
-DISTFILES= $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
@@ -362,6 +362,25 @@ krootwarning$(EXEEXT): $(krootwarning_OBJECTS) $(krootwarning_DEPENDENCIES)
.cpp.lo:
$(LTCXXCOMPILE) -c $<
+install-autostartDATA: $(autostart_DATA)
+ @$(NORMAL_INSTALL)
+ $(mkinstalldirs) $(DESTDIR)$(autostartdir)
+ @list='$(autostart_DATA)'; for p in $$list; do \
+ if test -f $(srcdir)/$$p; then \
+ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(autostartdir)/$$p"; \
+ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(autostartdir)/$$p; \
+ else if test -f $$p; then \
+ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(autostartdir)/$$p"; \
+ $(INSTALL_DATA) $$p $(DESTDIR)$(autostartdir)/$$p; \
+ fi; fi; \
+ done
+
+uninstall-autostartDATA:
+ @$(NORMAL_UNINSTALL)
+ list='$(autostart_DATA)'; for p in $$list; do \
+ rm -f $(DESTDIR)$(autostartdir)/$$p; \
+ done
+
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
@@ -554,21 +573,22 @@ installcheck: installcheck-recursive
install-exec-am: install-binPROGRAMS
install-exec: install-exec-recursive
-install-data-am: install-data-local
+install-data-am: install-autostartDATA install-data-local
install-data: install-data-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-recursive
-uninstall-am: uninstall-binPROGRAMS uninstall-local
+uninstall-am: uninstall-binPROGRAMS uninstall-autostartDATA \
+ uninstall-local
uninstall: uninstall-recursive
-all-am: Makefile $(PROGRAMS)
+all-am: Makefile $(PROGRAMS) $(DATA)
all-redirect: all-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs: installdirs-recursive
installdirs-am:
- $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(autostartdir)
mostlyclean-generic:
@@ -616,11 +636,12 @@ maintainer-clean: maintainer-clean-recursive
maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
-clean-libtool maintainer-clean-libtool install-data-recursive \
-uninstall-data-recursive install-exec-recursive \
-uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
-all-recursive check-recursive installcheck-recursive info-recursive \
-dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
+clean-libtool maintainer-clean-libtool uninstall-autostartDATA \
+install-autostartDATA install-data-recursive uninstall-data-recursive \
+install-exec-recursive uninstall-exec-recursive installdirs-recursive \
+uninstalldirs-recursive all-recursive check-recursive \
+installcheck-recursive info-recursive dvi-recursive \
+mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir \
mostlyclean-depend distclean-depend clean-depend \