cGit-UI for Git Repositories

cGit-UI – is a web interface for Git Repositories. cGit CGI script is writen in C and therefore it's fast enough

3 Commits   0 Branches   1 Tag
05d292b2 (kx 2023-03-24 03:51:10 +0300  1) # This file, Rules-quot, can be copied and used freely without restrictions.
05d292b2 (kx 2023-03-24 03:51:10 +0300  2) # Special Makefile rules for English message catalogs with quotation marks.
05d292b2 (kx 2023-03-24 03:51:10 +0300  3) 
05d292b2 (kx 2023-03-24 03:51:10 +0300  4) DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
05d292b2 (kx 2023-03-24 03:51:10 +0300  5) 
05d292b2 (kx 2023-03-24 03:51:10 +0300  6) .SUFFIXES: .insert-header .po-update-en
05d292b2 (kx 2023-03-24 03:51:10 +0300  7) 
05d292b2 (kx 2023-03-24 03:51:10 +0300  8) en@quot.po-create:
05d292b2 (kx 2023-03-24 03:51:10 +0300  9) 	$(MAKE) en@quot.po-update
05d292b2 (kx 2023-03-24 03:51:10 +0300 10) en@boldquot.po-create:
05d292b2 (kx 2023-03-24 03:51:10 +0300 11) 	$(MAKE) en@boldquot.po-update
05d292b2 (kx 2023-03-24 03:51:10 +0300 12) 
05d292b2 (kx 2023-03-24 03:51:10 +0300 13) en@quot.po-update: en@quot.po-update-en
05d292b2 (kx 2023-03-24 03:51:10 +0300 14) en@boldquot.po-update: en@boldquot.po-update-en
05d292b2 (kx 2023-03-24 03:51:10 +0300 15) 
05d292b2 (kx 2023-03-24 03:51:10 +0300 16) .insert-header.po-update-en:
05d292b2 (kx 2023-03-24 03:51:10 +0300 17) 	@lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 18) 	if test "$(PACKAGE)" = "gettext-tools" && test "$(CROSS_COMPILING)" != "yes"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 19) 	tmpdir=`pwd`; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 20) 	echo "$$lang:"; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 21) 	ll=`echo $$lang | sed -e 's/@.*//'`; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 22) 	LC_ALL=C; export LC_ALL; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 23) 	cd $(srcdir); \
05d292b2 (kx 2023-03-24 03:51:10 +0300 24) 	if $(MSGINIT) $(MSGINIT_OPTIONS) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
05d292b2 (kx 2023-03-24 03:51:10 +0300 25) 	   | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
05d292b2 (kx 2023-03-24 03:51:10 +0300 26) 	   { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
05d292b2 (kx 2023-03-24 03:51:10 +0300 27) 	     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
05d292b2 (kx 2023-03-24 03:51:10 +0300 28) 	       $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
05d292b2 (kx 2023-03-24 03:51:10 +0300 29) 	       ;; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 30) 	     *) \
05d292b2 (kx 2023-03-24 03:51:10 +0300 31) 	       $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \
05d292b2 (kx 2023-03-24 03:51:10 +0300 32) 	       ;; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 33) 	     esac } 2>/dev/null > $$tmpdir/$$lang.new.po \
05d292b2 (kx 2023-03-24 03:51:10 +0300 34) 	     ; then \
05d292b2 (kx 2023-03-24 03:51:10 +0300 35) 	  if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
05d292b2 (kx 2023-03-24 03:51:10 +0300 36) 	    rm -f $$tmpdir/$$lang.new.po; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 37) 	  else \
05d292b2 (kx 2023-03-24 03:51:10 +0300 38) 	    if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
05d292b2 (kx 2023-03-24 03:51:10 +0300 39) 	      :; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 40) 	    else \
05d292b2 (kx 2023-03-24 03:51:10 +0300 41) 	      echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 42) 	      exit 1; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 43) 	    fi; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 44) 	  fi; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 45) 	else \
05d292b2 (kx 2023-03-24 03:51:10 +0300 46) 	  echo "creation of $$lang.po failed!" 1>&2; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 47) 	  rm -f $$tmpdir/$$lang.new.po; \
05d292b2 (kx 2023-03-24 03:51:10 +0300 48) 	fi
05d292b2 (kx 2023-03-24 03:51:10 +0300 49) 
05d292b2 (kx 2023-03-24 03:51:10 +0300 50) en@quot.insert-header: insert-header.sin
05d292b2 (kx 2023-03-24 03:51:10 +0300 51) 	sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
05d292b2 (kx 2023-03-24 03:51:10 +0300 52) 
05d292b2 (kx 2023-03-24 03:51:10 +0300 53) en@boldquot.insert-header: insert-header.sin
05d292b2 (kx 2023-03-24 03:51:10 +0300 54) 	sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
05d292b2 (kx 2023-03-24 03:51:10 +0300 55) 
05d292b2 (kx 2023-03-24 03:51:10 +0300 56) mostlyclean: mostlyclean-quot
05d292b2 (kx 2023-03-24 03:51:10 +0300 57) mostlyclean-quot:
05d292b2 (kx 2023-03-24 03:51:10 +0300 58) 	rm -f *.insert-header