#
# - 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?
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)
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)
.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" $<
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
done; \
done
+uninstall-program:
+uninstall-man:
+
check: all
dvi info tags TAGS ID:
@echo "it deletes files that may require special tools to rebuild."
rm -f $(GMOFILES)
+depend:
distdepend: generate_potfiles_in update-po $(DISTFILES)
# jwz: Generates po/POTFILES.in by examining the source tree:
echo "# Auto-generated: `date`" ; \
( grep -l '_("' driver/*.[ch] ; \
ls driver/*.glade \
+ driver/*.glade2 \
driver/*.desktop.in \
hacks/config/*.xml ) | sort \
) > $$tmp && \