summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules2
-rw-r--r--src/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index f687d25..89f2405 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ MINOR := $(shell sed -n $(SED_COMMAND) debian/changelog | head -1 | sed -n 's/[0
build:
$(checkdir)
- cd src && make all
+ cd src && make all MAJOR=$(MAJOR) MINOR=$(MINOR)
touch build
diff --git a/src/Makefile b/src/Makefile
index aff6ada..636173a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -20,7 +20,7 @@ XTOBJ = ivyxtloop.o ivysocket.o ivy.o
ifneq (strip $(MAJOR),)
MAJOR=1
endif
-ifneq(strip $(MINOR),)
+ifneq (strip $(MINOR),)
MINOR=2
endif