From ae0c828ac29043e7adc56a78fc18d816b32c12b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz> Date: Sun, 18 Aug 2013 15:43:45 +0200 Subject: Initial import of kkbswitch 1.4.3 --- Makefile.am | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Makefile.am (limited to 'Makefile.am') 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) + -- cgit v1.2.1