From 01e968b586a134c6bf72486d42b24b88e04c5d70 Mon Sep 17 00:00:00 2001 From: Camden Narzt Date: Fri, 26 Jul 2024 19:51:54 -0600 Subject: [PATCH] make pkg-config hack cross-os compatible --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 37a441a..5734caf 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ bump: @ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(Version: +)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< getargv++.pc @ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(VERSION=)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< Makefile-variables @ruby -e 'path = STDIN.read.strip;File.write(path, File.read(path).sub(/^(PROJECT_NUMBER += +)([0-9]+)(?:(?:\.)([0-9]+)){1,}/){|s|"#{$$1}#{$$2}.#{$$3.to_i + 1}"})' <<< doxygen.conf - @env PKG_CONFIG_PATH=. pkg-config --define-variable=dep= --modversion getargv++ + @env PKG_CONFIG_PATH=. pkg-config --define-variable=dep="''" --modversion getargv++ tag: git add -A