libpar2 does not install headers when running `make install`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libpar2 |
New
|
Undecided
|
Unassigned |
Bug Description
When running `./configure && make && make install`, only the library + the config.h header are installed.
No header is copied.
Using the patch below, all headers are to `$(includedir)
Additionally, an automake warning is fixed. (caused by automake 1.16.3)
```patch
--- Makefile.am
+++ Makefile.am
@@ -50,24 +50,42 @@
verificationp
LDADD = -lstdc++ $(SIGC_LIBS)
-INCLUDES = $(SIGC_CFLAGS)
+AM_CPPFLAGS = $(SIGC_CFLAGS)
AM_CXXFLAGS = -Wall
EXTRA_DIST = PORTING ROADMAP debian/changelog debian/compat debian/control \
debian/copyright debian/
- debian/rules debian/
-#par2cmdline.sln par2cmdline.vcproj \
-# testdata.tar.gz pretest test1 test2 test3 test4 test5 test6 \
-# posttest
-
-#TESTS = pretest test1 test2 test3 test4 test5 test6 posttest
+ debian/rules debian/
library_
-library_
-
-
-
-libpar2_configdir = $(libdir)
-libpar2_
+library_
+ commandline.h \
+ config.h \
+ crc.h \
+ creatorpacket.h \
+ criticalpacket.h \
+ datablock.h \
+ descriptionpacket.h \
+ diskfile.h \
+ filechecksummer.h \
+ galois.h \
+ letype.h \
+ libpar2.h \
+ mainpacket.h \
+ md5.h \
+ par1fileformat.h \
+ par1repairer.h \
+ par1repairersou
+ par2cmdline.h \
+ par2creator.h \
+ par2creatorsour
+ par2fileformat.h \
+ par2repairer.h \
+ par2repairersou
+ parheaders.h \
+ recoverypacket.h \
+ reedsolomon.h \
+ verificationhas
+ verificationpac
libpar2_la_LDFLAGS = -version-info 1:0:0
--- configure.ac
+++ configure.ac
@@ -28,7 +28,7 @@
AM_CONFIG_
AC_CONFIG_
-AM_INIT_
+AM_INIT_AUTOMAKE
dnl Checks for programs.
```