]> gitweb.michael.orlitzky.com - amavis-logwatch.git/commitdiff
Changes: three years later, fix the previous release date master
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Sep 2024 01:40:40 +0000 (21:40 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Sep 2024 01:40:40 +0000 (21:40 -0400)
Changes
Makefile [deleted file]

diff --git a/Changes b/Changes
index 51daf343a0bbc174177ec864874029e13fa5a64e..45d329b617ce89f4d18647cc650e49801714249f 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-20YY-MM-DD (version: 1.51.04)
+2021-08-06 (version: 1.51.04)
  - New maintainer: Michael Orlitzky.
  - Support for modern versions of Amavis and Perl.
 
diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index b800ee5..0000000
--- a/Makefile
+++ /dev/null
@@ -1,81 +0,0 @@
-program = amavis-logwatch
-program_logwatch = amavis
-
-src = $(program) \
-      $(program).conf \
-      $(program).1 \
-      Changes Bugs Makefile README LICENSE
-
-prefix_logwatch = /etc/logwatch
-prefix_standalone = /usr/local
-
-scriptdir_logwatch   = $(prefix_logwatch)/scripts/services
-confdir_logwatch     = $(prefix_logwatch)/conf/services
-
-scriptdir_standalone = $(prefix_standalone)/bin
-confdir_standalone   = $(prefix_standalone)/etc
-mandir_standalone    = $(prefix_standalone)/man/man1
-
-INSTALL = /usr/bin/install -c
-
-install:
-       @echo 'Run "make install-logwatch" to install as a logwatch filter'
-       @echo 'Run "make install-standalone" to install as a standalone utility'
-       @echo 'Run "make install-all" to install both'
-
-install-logwatch:
-       $(INSTALL) -d -m 0755 \
-          $(DESTDIR)$(scriptdir_logwatch) \
-          $(DESTDIR)$(confdir_logwatch)
-       $(INSTALL) -m 0644 \
-          $(program) \
-          $(DESTDIR)$(scriptdir_logwatch)/$(program_logwatch)
-       $(INSTALL) -m 0644 \
-          $(program).conf \
-          $(DESTDIR)$(confdir_logwatch)/$(program_logwatch).conf
-       # removes taint mode (-T) to run under logwatch
-       perl -e 'while (<>) { $$.==1 and s/\s+-T$$//; print "$$_";}' \
-             -i $(DESTDIR)$(scriptdir_logwatch)/$(program_logwatch)
-
-install-standalone:
-       $(INSTALL) -d -m 0755 \
-          $(DESTDIR)$(scriptdir_standalone) \
-          $(DESTDIR)$(confdir_standalone) \
-          $(DESTDIR)$(mandir_standalone)
-       $(INSTALL) -m 0755 \
-          $(program) \
-          $(DESTDIR)$(scriptdir_standalone)/$(program)
-       $(INSTALL) -m 0644 \
-          $(program).conf \
-          $(DESTDIR)$(confdir_standalone)/$(program).conf
-       $(INSTALL) -m 0644 \
-          $(program).1 \
-          $(DESTDIR)$(mandir_standalone)/$(program).1
-
-install-all: install-logwatch install-standalone
-
-uninstall-logwatch:
-       rm -f $(DESTDIR)$(scriptdir_logwatch)/$(program_logwatch) \
-              $(DESTDIR)$(confdir_logwatch)/$(program_logwatch).conf
-       rm -rf $(DESTDIR)$(scriptdir_logwatch) \
-               $(DESTDIR)$(confdir_logwatch)
-
-uninstall-standalone:
-       rm -f $(DESTDIR)$(scriptdir_standalone)/$(program) \
-              $(DESTDIR)$(confdir_standalone)/$(program).conf \
-              $(DESTDIR)$(mandir_standalone)/$(program).1
-       rm -rf $(DESTDIR)$(scriptdir_standalone) \
-               $(DESTDIR)$(confdir_standalone) \
-               $(DESTDIR)$(mandir_standalone)
-
-uninstall-all: uninstall-logwatch uninstall-standalone
-
-.PHONY: release
-release:
-       vers=`egrep 'Version[ ]*=' $(program) | sed "s/.*'\(.*\)';/\1/"` ; \
-       echo Preparing version $$vers; \
-       rel=$(program)-$$vers ; \
-       tar -cJf $${rel}.tar.xz --transform=s",^,$${rel}/," $(src) ;
-
-$(program).1.html: $(program).1
-       man2html $< > $@