YaST modules rename from novell-casa to CASA continued.
This commit is contained in:
@@ -198,6 +198,7 @@ ystartupdir = @ystartupdir@
|
||||
|
||||
#where devtools are
|
||||
PREFIX := $(shell pkg-config --print-errors --variable=prefix yast2-devtools)
|
||||
Y2TOOL = $(PREFIX)/bin/y2tool
|
||||
SUBDIRS_FILE = $(shell test -e $(srcdir)/SUBDIRS && echo SUBDIRS)
|
||||
ACINCLUDE_FILE = $(shell test -e $(srcdir)/acinclude.m4 && echo acinclude.m4)
|
||||
HAS_YAST_LICENSE = $(shell test -e $(srcdir)/YAST_LICENSE && echo YAST_LICENSE)
|
||||
@@ -227,7 +228,7 @@ EXTRA_DIST = VERSION RPMNAME MAINTAINER configure.in.in \
|
||||
$(IS_DEVTOOLS),Makefile.am.common,$(POT_DST)) $(am__append_1)
|
||||
@CREATE_PKGCONFIG_NOARCH_TRUE@@CREATE_PKGCONFIG_TRUE@pkgconfigdata_DATA = $(RPMNAME).pc
|
||||
@CREATE_PKGCONFIG_NOARCH_FALSE@@CREATE_PKGCONFIG_TRUE@pkgconfig_DATA = $(RPMNAME).pc
|
||||
TAGVERSION = $(PREFIX)/bin/y2tool tagversion
|
||||
TAGVERSION = $(Y2TOOL) tagversion
|
||||
# test ! -d $(srcdir)/po \
|
||||
# || { $(MAKE) -C po checkpo && $(MAKE) -C po make-pox; }
|
||||
# Contents of ./SUBDIRS
|
||||
@@ -724,7 +725,7 @@ dist-hook:
|
||||
done
|
||||
|
||||
pot:
|
||||
y2tool y2makepot -s $(srcdir)
|
||||
$(Y2TOOL) y2makepot -s $(srcdir)
|
||||
|
||||
install-pot: pot
|
||||
@POT_DST=`find -type d -name testsuite -prune , \
|
||||
@@ -745,7 +746,7 @@ install-pot: pot
|
||||
fi
|
||||
|
||||
spellcheck: pot
|
||||
y2tool pot-spellcheck
|
||||
$(Y2TOOL) pot-spellcheck
|
||||
|
||||
# all-local: $(if $(IS_DEVTOOLS),,$(POT_DST))
|
||||
|
||||
@@ -772,15 +773,15 @@ package-local: check-parse $(if $(IS_DEVTOOLS),,$(POT_DST)) $(RPMNAME)-$(VERSION
|
||||
rm -f package/*.bak
|
||||
rm -f package/*.auto
|
||||
mv $(RPMNAME)-$(VERSION).tar.bz2 package/
|
||||
if ! test -x $(PREFIX)/bin/y2tool; then \
|
||||
echo "$(PREFIX)/bin/y2tool: not found."; \
|
||||
if ! test -x $(Y2TOOL); then \
|
||||
echo "$(Y2TOOL): not found."; \
|
||||
echo "You have to install yast2-devtools to making a package"; \
|
||||
false; \
|
||||
fi
|
||||
here=`pwd`; \
|
||||
cd $(srcdir) && for i in $(RPMNAME)*.spec.in; do \
|
||||
newname="`echo "$$i" | sed "s/\.in$$//g"`"; \
|
||||
$(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
|
||||
$(Y2TOOL) create-spec < $$i > $$here/package/$${newname} ; \
|
||||
done
|
||||
|
||||
package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
|
||||
@@ -827,12 +828,12 @@ check-all-packages:
|
||||
fi
|
||||
|
||||
check-textdomain:
|
||||
$(PREFIX)/bin/y2tool check-textdomain $(srcdir)
|
||||
$(Y2TOOL) check-textdomain $(srcdir)
|
||||
|
||||
stable: checkin-stable
|
||||
|
||||
checkin-stable: package
|
||||
$(PREFIX)/bin/y2tool checkin-stable
|
||||
$(Y2TOOL) checkin-stable
|
||||
|
||||
# For po/ modules
|
||||
checkpo:
|
||||
|
||||
Reference in New Issue
Block a user