version 1.1.1.1, 2012/02/21 16:23:01
|
version 1.1.1.3, 2012/10/09 09:29:52
|
Line 44 sudoersdir = $(sysconfdir)
|
Line 44 sudoersdir = $(sysconfdir)
|
sudoers_uid = @SUDOERS_UID@ |
sudoers_uid = @SUDOERS_UID@ |
sudoers_gid = @SUDOERS_GID@ |
sudoers_gid = @SUDOERS_GID@ |
sudoers_mode = @SUDOERS_MODE@ |
sudoers_mode = @SUDOERS_MODE@ |
|
shlib_mode = @SHLIB_MODE@ |
|
|
SUBDIRS = compat common @ZLIB_SRC@ plugins/sudoers src include doc |
SUBDIRS = compat common @ZLIB_SRC@ plugins/sudoers src include doc |
|
|
SAMPLES = plugins/sample plugins/sample_group | SAMPLES = plugins/sample plugins/sample_group plugins/system_group |
|
|
VERSION = @PACKAGE_VERSION@ |
VERSION = @PACKAGE_VERSION@ |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
Line 67 POTFILES = src/po/sudo.pot plugins/sudoers/po/sudoers.
|
Line 68 POTFILES = src/po/sudo.pot plugins/sudoers/po/sudoers.
|
MSGFMT = msgfmt |
MSGFMT = msgfmt |
MSGMERGE = msgmerge |
MSGMERGE = msgmerge |
XGETTEXT = xgettext |
XGETTEXT = xgettext |
XGETTEXT_OPTS = -k_ -kN_ --copyright-holder="Todd C. Miller" \ | XGETTEXT_OPTS = -F -k_ -kN_ --copyright-holder="Todd C. Miller" \ |
"--msgid-bugs-address=http://www.sudo.ws/bugs" \ |
"--msgid-bugs-address=http://www.sudo.ws/bugs" \ |
--package-name=@PACKAGE_NAME@ --package-version=$(VERSION) \ |
--package-name=@PACKAGE_NAME@ --package-version=$(VERSION) \ |
--flag warning:1:c-format --flag warningx:1:c-format \ |
--flag warning:1:c-format --flag warningx:1:c-format \ |
Line 114 uninstall: uninstall-nls
|
Line 115 uninstall: uninstall-nls
|
uninstall-nls: |
uninstall-nls: |
for pot in $(POTFILES); do \ |
for pot in $(POTFILES); do \ |
domain=`basename $$pot .pot`; \ |
domain=`basename $$pot .pot`; \ |
podir=`dirname $$pot`; \ | rm -f $(DESTDIR)$(localedir)/*/LC_MESSAGES/$$domain.mo; \ |
for po in $$podir/*.po; do \ | |
lang=`basename $$po .po`; \ | |
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$$domain.mo; \ | |
done; \ | |
done |
done |
|
|
autoconf: |
autoconf: |
autoconf -I m4 |
autoconf -I m4 |
|
|
siglist.c: | siglist.c signame.c: |
(cd compat && exec $(MAKE) $@) |
(cd compat && exec $(MAKE) $@) |
|
|
depend: siglist.c | depend: siglist.c signame.c |
@if test "$(srcdir)" != "."; then \ |
@if test "$(srcdir)" != "."; then \ |
echo "make depend only supported in the source directory"; \ |
echo "make depend only supported in the source directory"; \ |
exit 1; \ |
exit 1; \ |
Line 136 depend: siglist.c
|
Line 133 depend: siglist.c
|
$(srcdir)/compat/Makefile.in $(srcdir)/plugins/sample/Makefile.in \ |
$(srcdir)/compat/Makefile.in $(srcdir)/plugins/sample/Makefile.in \ |
$(srcdir)/plugins/sample_group/Makefile.in \ |
$(srcdir)/plugins/sample_group/Makefile.in \ |
$(srcdir)/plugins/sudoers/Makefile.in \ |
$(srcdir)/plugins/sudoers/Makefile.in \ |
|
$(srcdir)/plugins/system_group/Makefile.in \ |
$(srcdir)/src/Makefile.in $(srcdir)/zlib/Makefile.in; \ |
$(srcdir)/src/Makefile.in $(srcdir)/zlib/Makefile.in; \ |
./config.status --file $(srcdir)/common/Makefile \ |
./config.status --file $(srcdir)/common/Makefile \ |
--file $(srcdir)/compat/Makefile \ |
--file $(srcdir)/compat/Makefile \ |
--file $(srcdir)/plugins/sample/Makefile \ |
--file $(srcdir)/plugins/sample/Makefile \ |
--file $(srcdir)/plugins/sample_group/Makefile \ |
--file $(srcdir)/plugins/sample_group/Makefile \ |
--file $(srcdir)/plugins/sudoers/Makefile \ |
--file $(srcdir)/plugins/sudoers/Makefile \ |
|
--file $(srcdir)/plugins/system_group/Makefile \ |
--file $(srcdir)/src/Makefile --file $(srcdir)/zlib/Makefile |
--file $(srcdir)/src/Makefile --file $(srcdir)/zlib/Makefile |
|
|
# The 1.8 branch started February 25, 2011 |
|
ChangeLog: |
ChangeLog: |
if test -d $(srcdir)/.hg && cd $(srcdir); then \ |
if test -d $(srcdir)/.hg && cd $(srcdir); then \ |
if hg log --style=changelog -b 1.8 > $@.tmp && hg log --style=changelog -b default --date '<2011-02-25 21:30:00' >> $@.tmp; then \ | if hg log --style=changelog -b default > $@.tmp; then \ |
mv -f $@.tmp $@; \ |
mv -f $@.tmp $@; \ |
else \ |
else \ |
rm -f $@.tmp; \ |
rm -f $@.tmp; \ |
Line 166 libtool: $(LIBTOOL_DEPS)
|
Line 164 libtool: $(LIBTOOL_DEPS)
|
Makefile: $(srcdir)/Makefile.in |
Makefile: $(srcdir)/Makefile.in |
./config.status --file Makefile |
./config.status --file Makefile |
|
|
sync-po: | sync-po: rsync-po compile-po |
| |
| rsync-po: |
rsync -Lrtvz translationproject.org::tp/latest/sudo/ src/po/ |
rsync -Lrtvz translationproject.org::tp/latest/sudo/ src/po/ |
rsync -Lrtvz translationproject.org::tp/latest/sudoers/ plugins/sudoers/po/ |
rsync -Lrtvz translationproject.org::tp/latest/sudoers/ plugins/sudoers/po/ |
|
|
Line 182 update-pot:
|
Line 182 update-pot:
|
*) echo unknown domain $$domain; continue;; \ |
*) echo unknown domain $$domain; continue;; \ |
esac; \ |
esac; \ |
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ |
$(XGETTEXT) $(XGETTEXT_OPTS) -d$$domain $$cfiles -o $$pot.tmp; \ |
if diff -I'^.POT-Creation-Date' $$pot.tmp $$pot >/dev/null; then \ | if diff -I'^.POT-Creation-Date' -I'^.Project-Id-Version' -I'^#' $$pot.tmp $$pot >/dev/null; then \ |
rm -f $$pot.tmp; \ |
rm -f $$pot.tmp; \ |
else \ |
else \ |
mv -f $$pot.tmp $$pot; \ |
mv -f $$pot.tmp $$pot; \ |
Line 231 install-nls:
|
Line 231 install-nls:
|
for pot in $(POTFILES); do \ |
for pot in $(POTFILES); do \ |
podir=`dirname $$pot`; \ |
podir=`dirname $$pot`; \ |
domain=`basename $$pot .pot`; \ |
domain=`basename $$pot .pot`; \ |
|
SUDO_LINGUAS=$${LINGUAS-"`echo $$podir/*.mo|sed 's:'$$podir'/\([^ ]*\).mo:\1:g'`"}; \ |
echo $(ECHO_N) "Installing $$domain message catalogs:$(ECHO_C)"; \ |
echo $(ECHO_N) "Installing $$domain message catalogs:$(ECHO_C)"; \ |
for mo in $$podir/*.mo; do \ | for lang in $$SUDO_LINGUAS; do \ |
lang=`basename $$mo .mo`; \ | test -s $$podir/$$lang.mo || continue; \ |
echo $(ECHO_N) " $$lang$(ECHO_C)"; \ |
echo $(ECHO_N) " $$lang$(ECHO_C)"; \ |
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ |
$(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ |
$(INSTALL) -O $(install_uid) -G $(install_gid) -M 0644 $$mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$$domain.mo; \ | $(INSTALL) -O $(install_uid) -G $(install_gid) -m 0644 $$podir/$$lang.mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$$domain.mo; \ |
done; \ |
done; \ |
echo ""; \ |
echo ""; \ |
done; \ |
done; \ |
Line 276 package: sudo.pp
|
Line 277 package: sudo.pp
|
sudoers_uid=$(sudoers_uid) \ |
sudoers_uid=$(sudoers_uid) \ |
sudoers_gid=$(sudoers_gid) \ |
sudoers_gid=$(sudoers_gid) \ |
sudoers_mode=$(sudoers_mode) \ |
sudoers_mode=$(sudoers_mode) \ |
|
shlib_mode=$(shlib_mode) \ |
version=$(VERSION) $(PPVARS) |
version=$(VERSION) $(PPVARS) |
|
|
clean: config.status |
clean: config.status |
Line 298 clobber: distclean
|
Line 300 clobber: distclean
|
|
|
realclean: distclean |
realclean: distclean |
|
|
.PHONY: ChangeLog | me: |
| |
| a: |
| |
| sandwich: |
| @if test -n "$$SUDO_USER"; then \ |
| echo "Okay."; \ |
| else \ |
| echo "What? Make it yourself!"; \ |
| fi |
| |
| .PHONY: ChangeLog me a sandwhich |