summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-08-18 15:43:45 +0200
committerSlávek Banko <[email protected]>2013-08-18 15:43:45 +0200
commitae0c828ac29043e7adc56a78fc18d816b32c12b4 (patch)
tree51cc9b30f40faa951fc029f72c5f5b5e573e863d /Makefile.am
downloadkkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.tar.gz
kkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.zip
Initial import of kkbswitch 1.4.3
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am45
1 files changed, 45 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..d7cea90
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,45 @@
+SUBDIRS = $(TOPSUBDIRS)
+
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
+
+$(top_srcdir)/subdirs:
+ cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
+
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
+ @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
+
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
+
+package-messages:
+ cd $(top_srcdir) && $(MAKE) includedir=$(kde_includes) -f admin/Makefile.common package-messages
+ $(MAKE) -C po merge
+
+EXTRA_DIST = admin COPYING configure.in.in Makefile.cvs kkbswitch.1\
+ configure.files Doxyfile kkbswitch.kdevelop kkbswitch.lsm \
+ kkbswitch.spec kkbswitch.xpm subdirs kkbswitch.sgml
+
+man_MANS = kkbswitch.1
+DISTCHECK_CONFIGURE_FLAGS = --disable-ru-ua-layout
+KDE_OPTIONS = noautodist
+
+dist-hook:
+ cd $(top_distdir) && perl admin/am_edit -padmin
+ cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
+# rm -f $(distdir)/kkbswitch.kdevelop.pcs
+# rm -f $(distdir)/$(PACKAGE)-*.tar.gz
+
+
+rpmdir = _rpm
+specfile = $(PACKAGE).spec
+rpm: $(specfile)
+ rm -rf $(rpmdir)
+ mkdir $(rpmdir)
+ mkdir -p rpms
+ cd $(rpmdir) && \
+ mkdir RPMS SRPMS SOURCES SPECS BUILD RPMS/i386 RPMS/noarch && \
+ cp ../$(specfile) SPECS && \
+ cp ../$(distdir).tar.gz SOURCES && \
+ rpmbuild --define "_topdir "`pwd` -ba SPECS/$(specfile) && \
+ cp SRPMS/* RPMS/*/* ../rpms && cd .. && rm -rf $(rpmdir)
+