blob: 6c7ec6f32032260e7c08abc8fab7bc2eb3ee13f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
@SET_MAKE@
SHELL=@SHELL@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
DOMAIN = $(PACKAGE)
srcidr=@srcdir@
top_srcdir=@top_srcdir@
VPATH= $(srcdir):.
prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
bindir = @bindir@
datadir = @datadir@
libdir = @libdir@
includedir = @includedir@
infodir = @infodir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
top_srcdir = @top_srcdir@
VPATH = $(top_srcdir):.
CGIBIN_DIR = $(libexecdir)/$(PACKAGE)/cgi-bin
AUXBIN_DIR = $(libexecdir)/$(PACKAGE)
HELP_DIR = @HELP_DIR@
RC_DIR = @RC_DIR@
ETC_DIR = $(sysconfdir)
CONF_DIR = $(sysconfdir)/$(PACKAGE)
LIB_TARGETS = multipart.cgi
MKDIR = mkdir -p
INSTALL = @INSTALL@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
PERL = @PERL@
NKF = @NKF@
all: $(LIB_TARGETS)
# do nothing
$(LIB_TARGETS):
install: $(LIB_TARGETS)
-$(MKDIR) $(DESTDIR)$(CGIBIN_DIR)
for file in $(LIB_TARGETS); \
do \
$(INSTALL_SCRIPT) $$file $(DESTDIR)$(CGIBIN_DIR); \
done
uninstall:
-for file in $(LIB_TARGETS); \
do \
rm -f $(CGIBIN_DIR)/$$file; \
done
clean:
distclean:
-rm -f $(LIB_TARGETS)
-rm -f Makefile
dist: all
@-rm -fr $(distdir)/multipart
$(MKDIR) $(distdir)/multipart
cp Makefile README multipart.cgi.in $(distdir)/multipart
( cd $(distdir); tar -cf - multipart | GZIP='' gzip ) \
> $(distdir)/multipart.tar.gz
-rm -fr $(distdir)/multipart
|