www.nico.schottelius.org/software/gpm/browse_source/gpm-1.20.3pre4/contrib/Makefile.in
Nico Schottelius 95a46c5577 import gpm from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-08 22:52:35 +02:00

31 lines
659 B
Makefile

# -*-makefile-*- (gpm/contrib)
#
# Copyright (C) 2001 Nico Schottelius <nico@schottelius.org>
#
srcdir = @srcdir@
top_builddir = ..
include $(top_builddir)/Makefile.include
all: $(srcdir)/$(ELISP)
install: all
if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
$(INSTALL_DATA) $(srcdir)/$$i $(lispdir)/`basename $$i` ;\
done; fi
%.elc: %.el
$(EMACS) -batch -l $(srcdir)/emacs/exec.el -exec '(byte-compile-file "$<")'
uninstall:
if [ -n "$(ELISP)" ]; then for i in `echo $(ELISP)`; do \
rm -f $(lispdir)/$$i ;\
done; fi
dist:
$(CP) -r $(srcdir) $(top_builddir)/gpm-$(release)/
clean distclean:
$(RM) -f $(srcdir)/emacs/*.elc