Skip to content

Commit dfb474a

Browse files
committed
test1
1 parent 5a32ebc commit dfb474a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile.am

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
1313
cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter
1414

1515
EXTRA_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+
3243
if OSX
3344
cava_CFLAGS += -DNORT
3445
cava_LDADD =

0 commit comments

Comments
 (0)