1# Makefile for PO directory in any package using GNU gettext. 2# Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper <drepper@gnu.ai.mit.edu> 3# 4# This file can be copied and used freely without restrictions. It can 5# be used in projects which are not available under the GNU General Public 6# License but which still want to provide support for the GNU gettext 7# functionality. 8# Please note that the actual code of GNU gettext is covered by the GNU 9# General Public License and is *not* in the public domain. 10# 11# Origin: gettext-0.14 12 13PACKAGE = e2fsprogs 14VERSION = 0.14.1 15 16SHELL = /bin/sh 17 18 19srcdir = . 20top_srcdir = .. 21 22 23prefix = /usr 24exec_prefix = ${prefix} 25datarootdir = ${prefix}/share 26datadir = ${datarootdir} 27localedir = $(datadir)/locale 28gettextsrcdir = $(datadir)/gettext/po 29 30INSTALL = /usr/bin/install -c 31INSTALL_DATA = ${INSTALL} -m 644 32MKINSTALLDIRS = $(top_builddir)/config/mkinstalldirs 33mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) 34 35GMSGFMT = /usr/bin/msgfmt 36MSGFMT = /usr/bin/msgfmt 37XGETTEXT = : 38MSGMERGE = msgmerge 39MSGMERGE_UPDATE = /usr/bin/msgmerge --update 40MSGINIT = msginit 41MSGCONV = msgconv 42MSGFILTER = msgfilter 43 44POFILES = ca.po cs.po de.po es.po fr.po it.po nl.po pl.po sv.po tr.po vi.po 45GMOFILES = ca.gmo cs.gmo de.gmo es.gmo fr.gmo it.gmo nl.gmo pl.gmo sv.gmo tr.gmo vi.gmo 46UPDATEPOFILES = ca.po-update cs.po-update de.po-update es.po-update fr.po-update it.po-update nl.po-update pl.po-update sv.po-update tr.po-update vi.po-update 47DUMMYPOFILES = ca.nop cs.nop de.nop es.nop fr.nop it.nop nl.nop pl.nop sv.nop tr.nop vi.nop 48DISTFILES.common = Makefile.in.in remove-potcdate.sin \ 49$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) 50DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \ 51$(POFILES) $(GMOFILES) \ 52$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) 53 54POTFILES = \ 55 ../e2fsck/badblocks.c \ 56 ../e2fsck/dict.c \ 57 ../e2fsck/dirinfo.c \ 58 ../e2fsck/dx_dirinfo.c \ 59 ../e2fsck/ehandler.c \ 60 ../e2fsck/emptydir.c \ 61 ../e2fsck/extend.c \ 62 ../e2fsck/flushb.c \ 63 ../e2fsck/iscan.c \ 64 ../e2fsck/journal.c \ 65 ../e2fsck/message.c \ 66 ../e2fsck/pass1b.c \ 67 ../e2fsck/pass1.c \ 68 ../e2fsck/pass2.c \ 69 ../e2fsck/pass3.c \ 70 ../e2fsck/pass4.c \ 71 ../e2fsck/pass5.c \ 72 ../e2fsck/problem.c \ 73 ../e2fsck/recovery.c \ 74 ../e2fsck/region.c \ 75 ../e2fsck/scantest.c \ 76 ../e2fsck/super.c \ 77 ../e2fsck/swapfs.c \ 78 ../e2fsck/unix.c \ 79 ../e2fsck/util.c \ 80 ../misc/badblocks.c \ 81 ../misc/base_device.c \ 82 ../misc/blkid.c \ 83 ../misc/chattr.c \ 84 ../misc/dumpe2fs.c \ 85 ../misc/e2image.c \ 86 ../misc/e2label.c \ 87 ../misc/fsck.c \ 88 ../misc/logsave.c \ 89 ../misc/lsattr.c \ 90 ../misc/mke2fs.c \ 91 ../misc/mklost+found.c \ 92 ../misc/tune2fs.c \ 93 ../misc/util.c \ 94 ../misc/uuidgen.c \ 95 ../resize/extent.c \ 96 ../resize/main.c \ 97 ../resize/resize2fs.c \ 98 ../resize/sim_progress.c 99 100CATALOGS = ca.gmo cs.gmo de.gmo es.gmo fr.gmo it.gmo nl.gmo pl.gmo sv.gmo tr.gmo vi.gmo 101 102# Makevars gets inserted here. (Don't remove this line!) 103# Makefile variables for PO directory in any package using GNU gettext. 104 105# Usually the message domain is the same as the package name. 106DOMAIN = $(PACKAGE) 107 108# These two variables depend on the location of this directory. 109subdir = po 110top_builddir = .. 111 112# These options get passed to xgettext. 113XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ 114 115# This is the copyright holder that gets inserted into the header of the 116# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding 117# package. (Note that the msgstr strings, extracted from the package's 118# sources, belong to the copyright holder of the package.) Translators are 119# expected to transfer the copyright for their translations to this person 120# or entity, or to disclaim their copyright. The empty string stands for 121# the public domain; in this case the translators are expected to disclaim 122# their copyright. 123COPYRIGHT_HOLDER = Theodore Ts''o 124 125# This is the email address or URL to which the translators shall report 126# bugs in the untranslated strings: 127# - Strings which are not entire sentences, see the maintainer guidelines 128# in the GNU gettext documentation, section 'Preparing Strings'. 129# - Strings which use unclear terms or require additional context to be 130# understood. 131# - Strings which make invalid assumptions about notation of date, time or 132# money. 133# - Pluralisation problems. 134# - Incorrect English spelling. 135# - Incorrect formatting. 136# It can be your email address, or a mailing list address where translators 137# can write to without being subscribed, or the URL of a web page through 138# which the translators can contact you. 139MSGID_BUGS_ADDRESS = tytso@alum.mit.edu 140 141# This is the list of locale categories, beyond LC_MESSAGES, for which the 142# message catalogs shall be used. It is usually empty. 143EXTRA_LOCALE_CATEGORIES = 144 145.SUFFIXES: 146.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update 147 148.po.mo: 149 @echo "$(MSGFMT) -c -o $@ $<"; \ 150 $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ 151 152.po.gmo: 153 @lang=`echo $* | sed -e 's,.*/,,'`; \ 154 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ 155 echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ 156 cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo 157 158.sin.sed: 159 sed -e '/^#/d' $< > t-$@ 160 mv t-$@ $@ 161 162 163all: all-yes 164 165all-yes: #stamp-po 166all-no: 167 168# stamp-po is a timestamp denoting the last time at which the CATALOGS have 169# been loosely updated. Its purpose is that when a developer or translator 170# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, 171# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent 172# invocations of "make" will do nothing. This timestamp would not be necessary 173# if updating the $(CATALOGS) would always touch them; however, the rule for 174# $(POFILES) has been designed to not touch files that don't need to be 175# changed. 176stamp-po: $(srcdir)/$(DOMAIN).pot 177 test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) 178 @echo "touch stamp-po" 179 @echo timestamp > stamp-poT 180 @mv stamp-poT stamp-po 181 182# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', 183# otherwise packages like GCC can not be built if only parts of the source 184# have been downloaded. 185 186# This target rebuilds $(DOMAIN).pot; it is an expensive operation. 187# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. 188$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed \ 189 $(srcdir)/at-expand.pl 190 $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ 191 --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ 192 --files-from=$(srcdir)/POTFILES.in \ 193 --copyright-holder='$(COPYRIGHT_HOLDER)' \ 194 --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' 195 perl $(srcdir)/at-expand.pl < $(DOMAIN).po > $(DOMAIN).po.new 196 mv $(DOMAIN).po $(DOMAIN).po.bak 197 mv $(DOMAIN).po.new $(DOMAIN).po 198 test ! -f $(DOMAIN).po || { \ 199 if test -f $(srcdir)/$(DOMAIN).pot; then \ 200 sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ 201 sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ 202 if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ 203 rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ 204 else \ 205 rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ 206 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ 207 fi; \ 208 else \ 209 mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ 210 fi; \ 211 } 212 213# This rule has no dependencies: we don't need to update $(DOMAIN).pot at 214# every "make" invocation, only create it when it is missing. 215# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. 216$(srcdir)/$(DOMAIN).pot: 217 $(MAKE) $(DOMAIN).pot-update 218 219# This target rebuilds a PO file if $(DOMAIN).pot has changed. 220# Note that a PO file is not touched if it doesn't need to be changed. 221$(POFILES): $(srcdir)/$(DOMAIN).pot 222 @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ 223 if test -f "$(srcdir)/$${lang}.po"; then \ 224 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ 225 echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ 226 cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ 227 else \ 228 $(MAKE) $${lang}.po-create; \ 229 fi 230 231 232install: install-exec install-data 233install-exec: 234install-data: install-data-yes 235 if test "$(PACKAGE)" = "gettext-tools"; then \ 236 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ 237 for file in $(DISTFILES.common) Makevars.template; do \ 238 $(INSTALL_DATA) $(srcdir)/$$file \ 239 $(DESTDIR)$(gettextsrcdir)/$$file; \ 240 done; \ 241 for file in Makevars; do \ 242 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ 243 done; \ 244 else \ 245 : ; \ 246 fi 247install-data-no: all 248install-data-yes: all 249 $(mkinstalldirs) $(DESTDIR)$(datadir) 250 @catalogs='$(CATALOGS)'; \ 251 for cat in $$catalogs; do \ 252 cat=`basename $$cat`; \ 253 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ 254 dir=$(localedir)/$$lang/LC_MESSAGES; \ 255 $(mkinstalldirs) $(DESTDIR)$$dir; \ 256 if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ 257 $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ 258 echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ 259 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ 260 if test -n "$$lc"; then \ 261 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ 262 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ 263 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 264 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 265 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ 266 for file in *; do \ 267 if test -f $$file; then \ 268 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ 269 fi; \ 270 done); \ 271 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 272 else \ 273 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ 274 :; \ 275 else \ 276 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ 277 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 278 fi; \ 279 fi; \ 280 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ 281 ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ 282 ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ 283 cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ 284 echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ 285 fi; \ 286 done; \ 287 done 288 289install-strip: install 290 291installdirs: installdirs-exec installdirs-data 292installdirs-exec: 293installdirs-data: installdirs-data-yes 294 if test "$(PACKAGE)" = "gettext-tools"; then \ 295 $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ 296 else \ 297 : ; \ 298 fi 299installdirs-data-no: 300installdirs-data-yes: 301 $(mkinstalldirs) $(DESTDIR)$(datadir) 302 @catalogs='$(CATALOGS)'; \ 303 for cat in $$catalogs; do \ 304 cat=`basename $$cat`; \ 305 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ 306 dir=$(localedir)/$$lang/LC_MESSAGES; \ 307 $(mkinstalldirs) $(DESTDIR)$$dir; \ 308 for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ 309 if test -n "$$lc"; then \ 310 if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ 311 link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ 312 mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 313 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 314 (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ 315 for file in *; do \ 316 if test -f $$file; then \ 317 ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ 318 fi; \ 319 done); \ 320 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ 321 else \ 322 if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ 323 :; \ 324 else \ 325 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ 326 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ 327 fi; \ 328 fi; \ 329 fi; \ 330 done; \ 331 done 332 333# Define this as empty until I found a useful application. 334installcheck: 335 336uninstall: uninstall-exec uninstall-data 337uninstall-exec: 338uninstall-data: uninstall-data-yes 339 if test "$(PACKAGE)" = "gettext-tools"; then \ 340 for file in $(DISTFILES.common) Makevars.template; do \ 341 rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ 342 done; \ 343 else \ 344 : ; \ 345 fi 346uninstall-data-no: 347uninstall-data-yes: 348 catalogs='$(CATALOGS)'; \ 349 for cat in $$catalogs; do \ 350 cat=`basename $$cat`; \ 351 lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ 352 for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ 353 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ 354 done; \ 355 done 356 357check: all 358 359info dvi ps pdf html tags TAGS ctags CTAGS ID: 360 361mostlyclean: 362 rm -f remove-potcdate.sed 363 rm -f stamp-poT 364 rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po 365 rm -f $(DOMAIN).po.bak 366 rm -fr *.o 367 368clean: mostlyclean 369 370distclean: clean 371 rm -f Makefile Makefile.in POTFILES *.mo 372 373maintainer-clean: distclean 374 @echo "This command is intended for maintainers to use;" 375 @echo "it deletes files that may require special tools to rebuild." 376 rm -f stamp-po $(GMOFILES) 377 378distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) 379dist distdir: 380 $(MAKE) update-po 381 @$(MAKE) dist2 382# This is a separate target because 'update-po' must be executed before. 383dist2: $(DISTFILES) 384 dists="$(DISTFILES)"; \ 385 if test "$(PACKAGE)" = "gettext-tools"; then \ 386 dists="$$dists Makevars.template"; \ 387 fi; \ 388 if test -f $(srcdir)/ChangeLog; then \ 389 dists="$$dists ChangeLog"; \ 390 fi; \ 391 for i in 0 1 2 3 4 5 6 7 8 9; do \ 392 if test -f $(srcdir)/ChangeLog.$$i; then \ 393 dists="$$dists ChangeLog.$$i"; \ 394 fi; \ 395 done; \ 396 if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ 397 for file in $$dists; do \ 398 if test -f $$file; then \ 399 cp -p $$file $(distdir); \ 400 else \ 401 cp -p $(srcdir)/$$file $(distdir); \ 402 fi; \ 403 done 404 405update-po: Makefile 406 $(MAKE) $(DOMAIN).pot-update 407 test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) 408 $(MAKE) update-gmo 409 410# General rule for creating PO files. 411 412.nop.po-create: 413 @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ 414 echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ 415 exit 1 416 417# General rule for updating PO files. 418 419.nop.po-update: 420 @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ 421 if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ 422 tmpdir=`pwd`; \ 423 echo "$$lang:"; \ 424 test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ 425 echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ 426 cd $(srcdir); \ 427 if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ 428 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ 429 rm -f $$tmpdir/$$lang.new.po; \ 430 else \ 431 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ 432 :; \ 433 else \ 434 echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ 435 exit 1; \ 436 fi; \ 437 fi; \ 438 else \ 439 echo "msgmerge for $$lang.po failed!" 1>&2; \ 440 rm -f $$tmpdir/$$lang.new.po; \ 441 fi 442 443$(DUMMYPOFILES): 444 445update-gmo: Makefile $(GMOFILES) 446 @: 447 448Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in LINGUAS 449 cd $(top_builddir) \ 450 && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ 451 $(SHELL) ./config.status 452 453force: 454 455# Tell versions [3.59,3.63) of GNU make not to export all variables. 456# Otherwise a system limit (for SysV at least) may be exceeded. 457.NOEXPORT: 458# Special Makefile rules for English message catalogs with quotation marks. 459 460DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot 461 462.SUFFIXES: .insert-header .po-update-en 463 464en@quot.po-create: 465 $(MAKE) en@quot.po-update 466en@boldquot.po-create: 467 $(MAKE) en@boldquot.po-update 468 469en@quot.po-update: en@quot.po-update-en 470en@boldquot.po-update: en@boldquot.po-update-en 471 472.insert-header.po-update-en: 473 @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ 474 if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ 475 tmpdir=`pwd`; \ 476 echo "$$lang:"; \ 477 ll=`echo $$lang | sed -e 's/@.*//'`; \ 478 LC_ALL=C; export LC_ALL; \ 479 cd $(srcdir); \ 480 if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ 481 if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ 482 rm -f $$tmpdir/$$lang.new.po; \ 483 else \ 484 if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ 485 :; \ 486 else \ 487 echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ 488 exit 1; \ 489 fi; \ 490 fi; \ 491 else \ 492 echo "creation of $$lang.po failed!" 1>&2; \ 493 rm -f $$tmpdir/$$lang.new.po; \ 494 fi 495 496en@quot.insert-header: insert-header.sin 497 sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header 498 499en@boldquot.insert-header: insert-header.sin 500 sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header 501 502mostlyclean: mostlyclean-quot 503mostlyclean-quot: 504 rm -f *.insert-header 505