summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kxsconfig/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver/kxsconfig/Makefile.am')
-rw-r--r--kscreensaver/kxsconfig/Makefile.am56
1 files changed, 0 insertions, 56 deletions
diff --git a/kscreensaver/kxsconfig/Makefile.am b/kscreensaver/kxsconfig/Makefile.am
deleted file mode 100644
index 16eb66aa..00000000
--- a/kscreensaver/kxsconfig/Makefile.am
+++ /dev/null
@@ -1,56 +0,0 @@
-## Makefile.am of tdebase/kscreensaver/kxsconfig
-
-INCLUDES = $(all_includes)
-kxsconfig_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-kxsconfig_LDADD = $(LIB_KIO) -lXt
-
-kxsrun_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor
-kxsrun_LDADD = $(LIB_KIO)
-
-EXTRA_DIST = ScreenSavers hacks.pot
-
-####### Files
-
-bin_PROGRAMS = kxsconfig kxsrun
-
-kxsconfig_SOURCES = kxscontrol.cpp kxsitem.cpp kxsxml.cpp kxsconfig.cpp
-kxsrun_SOURCES = kxsrun.cpp kxscontrol.cpp kxsitem.cpp kxsxml.cpp
-
-noinst_HEADERS = kxsconfig.h kxscontrol.h kxsitem.h kxsxml.h
-
-METASOURCES = AUTO
-
-####### Build rules
-
-messages:
- $(XGETTEXT) -x hacks.pot *.cpp *.h -o $(podir)/kxsconfig.pot
- cat hacks.pot >> $(podir)/kxsconfig.pot
- -rm -f labels.cpp
-
-newhacks:
- hacks=`cd /usr/lib/xscreensaver/ && ls -1 | grep -v config` ;\
- echo $$hacks ;\
- for name in $$hacks; do \
- if test -f /usr/lib/xscreensaver/$$name && test -f /etc/xscreensaver/$$name.xml && test ! -f $(srcdir)/ScreenSavers/$$name.desktop; then \
- label=`grep '<screensaver.*_label' /etc/xscreensaver/$$name.xml | sed -e 's#^.*_label=\"\(.*\)\".*$$#\1#'` ;\
- f=$(srcdir)/ScreenSavers/$$name.desktop ;\
- sed -e "s#@NAME@#$$name#; s#@LABEL@#$$label#" $(srcdir)/ScreenSavers/xscreensaver.template > $$f; \
- if ldd /usr/lib/xscreensaver/$$name 2>&1 | grep libGL; then sed -e "s,@GL1@,X-TDE-Type=OpenGL,; s,@GL2@,X-TDE-Category=OpenGL Screen Savers," $$f > $$f.new && mv $$f.new $$f; else grep -v @GL $$f > $$f.new && mv $$f.new $$f; fi ;\
- fi; \
- done
-
-screensaverdir=$(kde_appsdir)/System/ScreenSavers
-
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(screensaverdir)
- list=`(cd $(srcdir)/ScreenSavers && ls -1 *.desktop)` ;\
- for i in $$list; do \
- hack=`echo $$i | sed -e "s#\.desktop##"` ;\
- if test -x $(XSCREENSAVER_HACKS_DIR)/$$hack; then \
- echo "$$hack found" ;\
- echo $(INSTALL_DATA) $(srcdir)/ScreenSavers/$$i $(DESTDIR)$(screensaverdir)/$$i ;\
- $(INSTALL_DATA) $(srcdir)/ScreenSavers/$$i $(DESTDIR)$(screensaverdir)/$$i ;\
- else \
- echo "$$hack not found" ;\
- fi ;\
- done