Fixed .PHONY. Added target "dist".

Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-01-08 18:18:47 +00:00
rodzic 20964dc061
commit 8c52b3ae5b
5 zmienionych plików z 59 dodań i 4 usunięć

Wyświetl plik

@ -2,6 +2,8 @@
* include/Makefile.in: Created. Moved distclean target to this file
from root dir.
* doc/Makefile.in lib/Makefile.in sanei/Makefile.in src/Makefile.in:
Fixed .PHONY. Added target "dist".
2002-01-08 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -40,6 +44,10 @@ MAN2HTML= nroff -man |\
-title $${page} -cgiurl '$$title.$$section.html'|\
sed 's,<BODY>,<BODY BGCOLOR=\#FFFFFF TEXT=\#000000><H1 ALIGN=CENTER><IMG SRC="../sane.png" HEIGHT=117 WIDTH=346></H1>,'
DISTFILES = Makefile.in sane.png xcam.man xscanimage.man
.PHONY: all clean depend dist html html-man install ps uninstall
all: $(MANPAGES)
%.1: %.man
@ -83,4 +91,8 @@ distclean: clean
depend:
.PHONY: all install depend clean ps html htmlman sane-backends-html uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/doc 2> /dev/null \
|| cp -p $$file $(distdir)/doc ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -49,6 +53,11 @@ LIBLIB_LTOBJS = alloca.lo getopt.lo getopt1.lo strndup.lo \
TARGETS = $(LIBLIB_OBJS)
TARGETS = liblib.a
DISTFILES = Makefile.in alloca.c getenv.c getopt.c getopt1.c isfdtype.c \
snprintf.c strdup.c strndup.c strsep.c usleep.c vsyslog.c
.PHONY: all check clean depend dist distclean install uninstall
.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
@ -76,4 +85,8 @@ clean:
distclean: clean
rm -f Makefile
.PHONY: all install check depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/lib 2> /dev/null \
|| cp -p $$file $(distdir)/lib ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
@ -50,6 +54,12 @@ LIBSANEI_LTOBJS = sanei_init_debug.lo \
TARGETS = libsanei.a
DISTFILES = Makefile.in sanei_codec_ascii.c sanei_codec_bin.c \
sanei_init_debug.c sanei_load_values.c sanei_save_values.c \
sanei_thread.c sanei_wire.c
.PHONY: all install check depend clean distclean uninstall dist
.SUFFIXES:
.SUFFIXES: .c .o
.c.o:
@ -75,4 +85,8 @@ clean:
distclean: clean
rm -f Makefile
.PHONY: all install check depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/sanei 2> /dev/null \
|| cp -p $$file $(distdir)/sanei ; \
done

Wyświetl plik

@ -5,6 +5,10 @@ srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ..
PACKAGE = @PACKAGE@
VERSION = @VERSION@
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
sane_prefix = @SANE_PREFIX@
prefix = @prefix@
exec_prefix = @exec_prefix@
@ -53,6 +57,12 @@ LIBSANEI = ../sanei/libsanei.a
XSCANIMAGE_OBJS = xscanimage.o progress.o preview.o preferences.o gtkglue.o
XCAM_OBJS = xcam.o preferences.o gtkglue.o
DISTFILES = Makefile.in gtkglue.c gtkglue.h preferences.c preferences.h \
preview.c preview.h progress.c progress.h sane-style.rc xcam.c \
xscanimage-gimp-1_0-compat.h xscanimage.c
.PHONY: all clean depend dist distclean install uninstall
.c.o:
$(COMPILE) $<
@ -97,4 +107,8 @@ distclean: clean
depend:
makedepend $(INCLUDES) *.c
.PHONY: all install depend clean distclean uninstall
dist: $(DISTFILES)
for file in $(DISTFILES); do \
ln $$file $(distdir)/src 2> /dev/null \
|| cp -p $$file $(distdir)/src ; \
done