Re: [PATCH] PRItime: wrap PRItime for better l10n compatibility

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 20/07/2017 à 20:57, Junio C Hamano a écrit :
>
> +	git diff --quiet HEAD && git diff --quiet --cached
> +
> +	@for s in $(LOCALIZED_C) $(LOCALIZED_SH) $(LOCALIZED_PERL); \

Does PRIuMAX make sense for perl and sh files?

> +	do \
> +		sed -e 's|PRItime|PRIuMAX|g' <"$$s" >"$$s+" && \
> +		cat "$$s+" >"$$s" && rm "$$s+"; \
> +	done
> +
>  	$(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ $(XGETTEXT_FLAGS_C) $(LOCALIZED_C)
>  	$(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ --join-existing $(XGETTEXT_FLAGS_SH) \
>  		$(LOCALIZED_SH)
>  	$(QUIET_XGETTEXT)$(XGETTEXT) -o$@+ --join-existing $(XGETTEXT_FLAGS_PERL) \
>  		$(LOCALIZED_PERL)
> +
> +	git reset --hard
>  	mv $@+ $@
>  
>  .PHONY: pot





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux