forked from tribes/guix
589f4cc655
* gnu/packages/version-control.scm (libfossil): New variable. * gnu/packages/patches/libfossil-skip-amalgamation.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. Change-Id: I6e19c074587e17446ac213386a9143d503ebba57 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -265,15 +265,11 @@
|
|
amal.flags = -nc
|
|
amal.run = TOPDIR="$(DIR.top)" $(SHELL.bash) $(bin.make-amal) --quiet
|
|
|
|
libfossil.c: $(amal.deps)
|
|
$(amal.run) $(amal.flags)
|
|
-libfossil.h: libfossil.c
|
|
-all: libfossil.c
|
|
@if ENABLE_CXX
|
|
-libfossil.hpp: libfossil.c
|
|
-libfossil.c++: libfossil.c
|
|
amal.flags += -c++
|
|
@endif
|
|
|
|
.PHONY: amal
|
|
amal: libfossil.c
|
|
@@ -287,19 +283,16 @@
|
|
fossil uv sync
|
|
@endif
|
|
@endif
|
|
|
|
install: install-headers
|
|
-install-headers: libfossil.h $(install-dir.include)
|
|
- $(INSTALL.noexec) libfossil.h $(install-dir.include)
|
|
+install-headers: include/libfossil.h $(install-dir.include)
|
|
+ $(INSTALL.noexec) $< $(install-dir.include)
|
|
@if ENABLE_CXX
|
|
-libfossil++.hpp: libfossil.h
|
|
-libfossil++.cpp: libfossil++.hpp
|
|
-all: libfossil++.cpp
|
|
install-headers: install-headers++
|
|
-install-headers++: libfossil++.hpp $(install-dir.include)
|
|
- $(INSTALL.noexec) libfossil++.hpp $(install-dir.include)
|
|
+install-headers++: include/libfossil.hpp $(install-dir.include)
|
|
+ $(INSTALL.noexec) $< $(install-dir.include)
|
|
@endif # ENABLE_CXX
|
|
clean: clean-amalgamation
|
|
clean-amalgamation:
|
|
rm -f libfossil.c libfossil.h libfossil++.cpp libfossil++.hpp
|
|
rm -f libfossil-config.h libfossil-amalgamation.zip VERSION.h
|
|
|