chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] change the version to 003-bk to keep things sane with people using the bk...
[elogind.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index fabb81b2c37408e1ba010abe9e4598ffff4621fe..5cefb12ebfda60f6bc18765181f27a3f80ffecc7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
-# Makefile for
diethotplug
+# Makefile for
udev
#
#
-# Copyright (C) 200
0,2001
Greg Kroah-Hartman <greg@kroah.com>
+# Copyright (C) 200
3
Greg Kroah-Hartman <greg@kroah.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-22,7
+22,7
@@
DEBUG = true
ROOT = udev
ROOT = udev
-VERSION = 003
+VERSION = 003
-bk
INSTALL_DIR = /usr/local/bin
RELEASE_NAME = $(ROOT)-$(VERSION)
INSTALL_DIR = /usr/local/bin
RELEASE_NAME = $(ROOT)-$(VERSION)
@@
-171,7
+171,7
@@
clean:
$(MAKE) -C libsysfs clean
$(MAKE) -C tdb clean
$(MAKE) -C libsysfs clean
$(MAKE) -C tdb clean
-DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v ".tdb" | sort )
+DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v "
\
.tdb" | sort )
DISTDIR := $(RELEASE_NAME)
srcdir = .
release: $(DISTFILES) clean
DISTDIR := $(RELEASE_NAME)
srcdir = .
release: $(DISTFILES) clean
@@
-200,3
+200,15
@@
install: all
$(INSTALL_DATA) namedev.config $(configdir)
$(INSTALL_DATA) namedev.permissions $(configdir)
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
$(INSTALL_DATA) namedev.config $(configdir)
$(INSTALL_DATA) namedev.permissions $(configdir)
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
+
+uninstall:
+ - rm $(hotplugdir)/udev.hotplug
+ - rm $(configdir)/namedev.permissions
+ - rm $(configdir)/namedev.config
+ - rm $(mandir)/man8/udev.8
+ - rm $(sbindir)/$(ROOT)
+ - rmdir $(hotplugdir)
+ - rmdir $(configdir)
+ - rmdir $(udevdir)
+
+