You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.5 KiB
46 lines
1.5 KiB
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.tdevelop 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.tdevelop.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)
|
|
|