File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
1313cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter
1414
1515EXTRA_DIST = \
16+ include \
1617 output/shaders/pass_through.vert \
1718 output/shaders/bar_spectrum.frag \
1819 output/shaders/northern_lights.frag \
@@ -29,6 +30,16 @@ EXTRA_DIST = \
2930 .clang-format \
3031 CMakeLists.txt
3132
33+ # Install entire directories preserving structure
34+ dist-hook :
35+ cp -r include/cava $(DESTDIR )$(includedir )
36+ # Define the target to install the headers
37+ install-exec-hook :
38+ @$(MKDIR_P ) $(DESTDIR )$(includedir ) /cava
39+ # Install entire directories preserving structure
40+ install-data-hook :
41+ cp -r include/cava/* $(DESTDIR )$(includedir ) /cava/
42+
3243if OSX
3344 cava_CFLAGS += -DNORT
3445 cava_LDADD =
You can’t perform that action at this time.
0 commit comments