X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=po%2FMakefile.in.in;h=c82f00661f60f3065b0741a91ecd11991d4d926e;hb=96a411663168b0ba5432b407a83be55f3df0c802;hp=ca1ab6b297c193e5ec9a70cf5004bd254d2b0832;hpb=3f9592851ce4ed76a9979bfdd6ec7dc5c457e183;p=xscreensaver diff --git a/po/Makefile.in.in b/po/Makefile.in.in index ca1ab6b2..c82f0066 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -65,7 +65,7 @@ # # - For xscreensaver, $(prefix) is generally /usr/X11R6/, but some files # need to go under /usr/ instead of under /usr/X11R6/ -- for those, we -# use @GNOME_DATADIR@ instead of @prefix@. So I changed $(datadir) and +# use @PO_DATADIR@ instead of @prefix@. So I changed $(datadir) and # $(gnulocaledir) appropriately. # # - WTF is $(gettextsrcdir) doing in here? @@ -100,15 +100,22 @@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ #datadir = $(prefix)/@DATADIRNAME@ -- not for xscreensaver -datadir = @GNOME_DATADIR@ +datadir = @PO_DATADIR@ localedir = $(datadir)/locale #gnulocaledir = $(prefix)/share/locale -- not for xscreensaver gnulocaledir = $(localedir) #gettextsrcdir = $(prefix)/share/glib-2.0/gettext/po subdir = po +DESTDIR = $(install_prefix) INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ + +# #### NO. This gets me "..//usr/bin/install: No such file or directory". +# The @MKINSTALLDIRS@ variable must have the absolute (or unqualified) +# path of the install program. --jwz. +# MKINSTALLDIRS = $(top_builddir)/@MKINSTALLDIRS@ + MKINSTALLDIRS = @MKINSTALLDIRS@ CC = @CC@ @@ -132,7 +139,7 @@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = POFILES = @POFILES@ GMOFILES = @GMOFILES@ -DISTFILES_1 = ChangeLog Makefile.in.in POTFILES.in +DISTFILES_1 = ChangeLog Makefile.in.in POTFILES.in update.sh DISTFILES = $(DISTFILES_1) $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) @@ -160,8 +167,9 @@ INSTOBJEXT = @INSTOBJEXT@ .po.mo: $(MSGFMT) -o $@ $< +# jwz: the "-" means "ignore any errors here, because I don't give a shit." .po.gmo: - @file=`echo $* | sed 's,.*/,,'`.gmo ; \ + @-file=`echo $* | sed 's,.*/,,'`.gmo ; \ rm -f "$$file" ; \ echo $(GMSGFMT) -o "$$file" $< ; \ $(GMSGFMT) -o "$$file" $< @@ -190,6 +198,10 @@ install-strip: install install: install-exec install-data install-exec: +install-program: +install-man: +install-strip: +tags: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all @@ -245,6 +257,9 @@ uninstall: done; \ done +uninstall-program: +uninstall-man: + check: all dvi info tags TAGS ID: @@ -263,7 +278,11 @@ maintainer-clean: distclean @echo "it deletes files that may require special tools to rebuild." rm -f $(GMOFILES) -distdepend: generate_potfiles_in update-po $(DISTFILES) +depend: +# fuck off. love, jwz. +#distdepend: generate_potfiles_in update-po $(DISTFILES) +distdepend:: + # jwz: Generates po/POTFILES.in by examining the source tree: # that way we don't have to keep this list up to date as files are added. @@ -275,6 +294,7 @@ generate_potfiles_in: echo "# Auto-generated: `date`" ; \ ( grep -l '_("' driver/*.[ch] ; \ ls driver/*.glade \ + driver/*.glade2 \ driver/*.desktop.in \ hacks/config/*.xml ) | sort \ ) > $$tmp && \