File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ RULESDIR = /etc/udev/rules.d
77
88# End of simple config, you shall not pass below
99
10+ VERSION =
11+
1012BUILDDIR = build
1113SRCDIR = src
1214
@@ -17,7 +19,7 @@ XMOD = 0700
1719FMOD = 0600
1820
1921all :
20- cd " $( BUILDDIR) " && make $(MAKEFLAGS ) \
22+ cd " $( BUILDDIR) " && make $(MAKEFLAGS ) VERSION= " $( VERSION ) " \
2123 SCRIPTDIR=" $( SCRIPTDIR) " CONFIGDIR=" $( CONFIGDIR) " RULESDIR=" $( RULESDIR) "
2224
2325clean :
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ all: $(SCRIPTS) $(SCRIPTS_NX) $(UDEV_RULES)
1313% .sh :
1414 sed -e ' s:^\(LIBDIR=\).*$$:\1' " '" ' $(SCRIPTDIR)' " ':" \
1515 -e ' s:^\(CONFDIR=\).*$$:\1' " '" ' $(CONFIGDIR)' " ':" \
16+ -e ' s:^\(VERSION=\).*$$:\1$(VERSION):' \
1617 " $( SRCDIR) /$@ " > " $@ "
1718
1819$(UDEV_RULES ) :
Original file line number Diff line number Diff line change 77
88CONFDIR=" ${LIBDIR} " /..
99
10+ # Currently not used, only for informational purposes
11+ # Empty means we're using SVN trunk
12+ VERSION=
13+
1014# Read configuration
1115
1216conf_read () {
You can’t perform that action at this time.
0 commit comments