summaryrefslogtreecommitdiff
path: root/yum-etckeeper/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'yum-etckeeper/makefile')
-rw-r--r--yum-etckeeper/makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/yum-etckeeper/makefile b/yum-etckeeper/makefile
deleted file mode 100644
index 1a666ef..0000000
--- a/yum-etckeeper/makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-DESTDIR?=
-prefix=/usr
-etcdir=/etc
-CONFFILE=etckeeper.conf
-
-INSTALL=install
-INSTALL_EXE=${INSTALL} -D
-INSTALL_DATA=${INSTALL} -m 0644 -D
-
-PACKAGE=yum-etckeeper
-DISTFILE=$(PACKAGE).tar.gz
-
-dist: $(DISTFILE)
-
-$(DISTFILE):
- tar -C .. --exclude .git --exclude $(DISTFILE) \
- --exclude \*.diff --exclude .gitignore \
- --exclude .svn \
- --exclude \*.swp \
- -cvzf $(DISTFILE) $(PACKAGE)
-
-install:
- mkdir -p $(DESTDIR)$(etcdir)/etckeeper/list-installed.d $(DESTDIR)$(prefix)/lib/yum-plugins $(DESTDIR)$(etcdir)/yum/pluginconf.d
- $(INSTALL_DATA) $(CONFFILE) $(DESTDIR)$(etcdir)/yum/pluginconf.d/etckeeper.conf
- $(INSTALL_DATA) etckeeper.py $(DESTDIR)$(prefix)/lib/yum-plugins/etckeeper.py
- $(INSTALL_EXE) list-installed.d/60list-installed $(DESTDIR)$(etcdir)/etckeeper/list-installed.d/60list-installed
-
-rpms: dist
- rpmbuild -ta $(DISTFILE)
-
-clean:
- -rm -f $(DISTFILE)