From 59d238f282a5cfe523907167deecb9afe7f1c7d3 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 8 Dec 2001 12:55:10 +0000 Subject: [PATCH] * Fixed debian and make snapshot rules. --- Makefile | 4 ++-- debian/rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e7be454dbb..23806f7cec 100644 --- a/Makefile +++ b/Makefile @@ -167,8 +167,8 @@ endif # # Misc variables # -VLC_QUICKVERSION := $(shell grep '^ *VLC_VERSION=' configure.in | head -1 | cut -f2 -d=) -LIBDVDCSS_QUICKVERSION := $(shell grep '^ *LIBDVDCSS_VERSION=' configure.in | head -1 | cut -f2 -d=) +VLC_QUICKVERSION := $(shell grep '^ *VLC_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=) +LIBDVDCSS_QUICKVERSION := $(shell grep '^ *LIBDVDCSS_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=) # All symbols must be exported diff --git a/debian/rules b/debian/rules index 6eced2e1f3..d4a09c52fe 100755 --- a/debian/rules +++ b/debian/rules @@ -16,7 +16,7 @@ export PIXDIR="usr/share/pixmaps" export GNOMEDIR="usr/share/gnome/apps/Multimedia" # Library options -version=$(shell grep '^ *LIBDVDCSS_VERSION=[0-9]' configure.in | head -1 | cut -f2 -d=) +version=$(shell grep '^ *LIBDVDCSS_VERSION=' configure.in | head -1 | sed 's/"//g' | cut -f2 -d=) major=$(shell echo "$(version)" | cut -f1 -d.) build: build-stamp -- 2.39.5