diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bd9e6617827818fd043452c08c606f07b78014a0 (patch) | |
tree | 425bb4c3168f9c02f10150f235d2cb998dcc6108 /kapptemplate/existing | |
download | tdesdk-bd9e6617827818fd043452c08c606f07b78014a0.tar.gz tdesdk-bd9e6617827818fd043452c08c606f07b78014a0.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kapptemplate/existing')
-rw-r--r-- | kapptemplate/existing/Makefile.am | 2 | ||||
-rw-r--r-- | kapptemplate/existing/app-Makefile.am | 34 | ||||
-rw-r--r-- | kapptemplate/existing/app-desktop | 9 |
3 files changed, 45 insertions, 0 deletions
diff --git a/kapptemplate/existing/Makefile.am b/kapptemplate/existing/Makefile.am new file mode 100644 index 00000000..3abf5838 --- /dev/null +++ b/kapptemplate/existing/Makefile.am @@ -0,0 +1,2 @@ +existingdir = $(kde_datadir)/kapptemplate/existing +existing_DATA = app-Makefile.am app-desktop diff --git a/kapptemplate/existing/app-Makefile.am b/kapptemplate/existing/app-Makefile.am new file mode 100644 index 00000000..79236a7f --- /dev/null +++ b/kapptemplate/existing/app-Makefile.am @@ -0,0 +1,34 @@ +echo "Creating $LOCATION_ROOT/$APP_NAME_LC/Makefile.am..."; +cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/Makefile.am +# this has all of the subdirectories that make will recurse into. if +# there are none, comment this out +#SUBDIRS = + +# this is the program that gets installed. it's name is used for all +# of the other Makefile.am variables +bin_PROGRAMS = $APP_NAME_LC + +# set the include path for X, qt and KDE +INCLUDES = \$(all_includes) + +# the library search path. +${APP_NAME_LC}_LDFLAGS = \$(KDE_RPATH) \$(all_libraries) + +# the libraries to link against. +${APP_NAME_LC}_LDADD = \$(LIB_KFILE) + +# which sources should be compiled for $APP_NAME_LC +${APP_NAME_LC}_SOURCES = ${EXISTING_SOURCE} + +# these are the headers for your project that won't be installed +noinst_HEADERS = ${EXISTING_HEADER} + +# let automoc handle all of the meta source files (moc) +METASOURCES = AUTO + +messages: rc.cpp + \$(XGETTEXT) *.cpp -o \$(podir)/${APP_NAME_LC}.pot + +# this is where the desktop file will go +desktopdir = \$(kde_appsdir)/Utilities +desktop_DATA = ${APP_NAME_LC}.desktop diff --git a/kapptemplate/existing/app-desktop b/kapptemplate/existing/app-desktop new file mode 100644 index 00000000..857fb224 --- /dev/null +++ b/kapptemplate/existing/app-desktop @@ -0,0 +1,9 @@ +echo "Creating $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}.desktop..."; +cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}.desktop +[Desktop Entry] +Encoding=UTF-8 +Name=${APP_NAME} +Exec=${APP_NAME_LC} %i %m -caption "%c" +Type=Application +Terminal=0 +GenericName=A KDE Application |