]> Pileus Git - ~andy/fetchmail/blobdiff - Makefile.in
Before showdots,
[~andy/fetchmail] / Makefile.in
index 846c734f0b37d02acfbc869e69ef5a19cf4205c6..e8c05cb604dea4370256ff35d279f9ae18e24014 100644 (file)
@@ -4,7 +4,7 @@
 # So just uncomment all the lines marked QNX.
 
 PACKAGE = fetchmail
-VERSION = 5.3.7
+VERSION = 5.5.3
 
 SUBDIRS = @INTLSUB@ @POSUB@  
 
@@ -18,7 +18,7 @@ CC = @CC@
 CFLAGS = @CFLAGS@
 # CFLAGS =  -g2 -5     # QNX
 LDFLAGS = @LDFLAGS@
-# LDFLAGS =  -g2 -5    # QNX
+# LDFLAGS =  -g2 -5 -N64k      # QNX
 LEX = @LEX@
 LEXFLAGS=
 YACC = @YACC@
@@ -52,6 +52,8 @@ EXTRASRC = @EXTRASRC@
 EXTRAOBJ = @EXTRAOBJ@
 # EXTRAOBJ = strcasecmp.o getopt.o getopt1.o alloca.o
 
+DESTDIR = 
+
 # Common prefix for machine-independent installed files.
 prefix = @prefix@
 # Common prefix for machine-dependent installed files.
@@ -148,21 +150,21 @@ tags: $(tagsrcs)
 .PHONY: install uninstall
 install:
        @echo "Creating installation directories..." 
-       $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(mandir)
+       $(SHELL) ${srcdir}/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)
        @echo "Installing fetchmail binary..."
-       $(INSTALL_PROGRAM) ./fetchmail $(bindir)/fetchmail
+       $(INSTALL_PROGRAM) ./fetchmail $(DESTDIR)$(bindir)/fetchmail
        @echo "Installing fetchmail configurator..."
-       $(INSTALL_PROGRAM) ${srcdir}/fetchmailconf $(bindir)/fetchmailconf
+       $(INSTALL_PROGRAM) ${srcdir}/fetchmailconf $(DESTDIR)$(bindir)/fetchmailconf
        @echo "Installing manual page..."
-       $(INSTALL_DATA) $(srcdir)/fetchmail.man $(mandir)/fetchmail.$(manext)
-       rm -f $(mandir)/fetchmailconf.$(manext)
-       ln -s $(mandir)/fetchmail.$(manext) $(mandir)/fetchmailconf.$(manext)
+       $(INSTALL_DATA) $(srcdir)/fetchmail.man $(DESTDIR)$(mandir)/fetchmail.$(manext)
+       rm -f $(DESTDIR)$(mandir)/fetchmailconf.$(manext)
+       cd $(DESTDIR)$(mandir) && ln -s fetchmail.$(manext) fetchmailconf.$(manext)
        @echo "Installing language catalogs..."
        @POMAKE@ install
 
 uninstall:
-       rm -f $(bindir)/fetchmail $(bindir)/fetchmailconf
-       rm -f $(mandir)/fetchmail.$(manext) $(mandir)/fetchmailconf.$(manext)
+       rm -f $(DESTDIR)$(bindir)/fetchmail $(DESTDIR)$(bindir)/fetchmailconf
+       rm -f $(DESTDIR)$(mandir)/fetchmail.$(manext) $(DESTDIR)$(mandir)/fetchmailconf.$(manext)
        @POMAKE@ uninstall
 
 .PHONY: clean realclean distclean mostlyclean