Revert "[cmake] Add rule to generate FBVF"

This reverts commit e4c59ac60a.

I hadn't seen the FBVF rule in the `Version` CMake file. There's
something else going on here.
This commit is contained in:
Mahmoud Al-Qudsi 2018-02-21 13:50:05 -06:00
parent e4c59ac60a
commit 9e1576bdc4

View file

@ -112,11 +112,6 @@ FISH_CREATE_DIRS(${rel_datadir}/pkgconfig ${extra_completionsdir}
# @echo "Installing pkgconfig file" # @echo "Installing pkgconfig file"
# $v $(INSTALL) -m 644 fish.pc $(DESTDIR)$(datadir)/pkgconfig # $v $(INSTALL) -m 644 fish.pc $(DESTDIR)$(datadir)/pkgconfig
CONFIGURE_FILE(fish.pc.in fish.pc.noversion) CONFIGURE_FILE(fish.pc.in fish.pc.noversion)
ADD_CUSTOM_COMMAND(OUTPUT ${FBVF}
COMMAND ./build_tools/git_version_gen.sh
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
ADD_CUSTOM_COMMAND(OUTPUT fish.pc ADD_CUSTOM_COMMAND(OUTPUT fish.pc
COMMAND sed '/Version/d' fish.pc.noversion > fish.pc COMMAND sed '/Version/d' fish.pc.noversion > fish.pc
COMMAND echo -n "Version: " >> fish.pc COMMAND echo -n "Version: " >> fish.pc