Fixed internal header problems (hopefully...)

Fortune for rngxx's current commit: Half curse − 半凶
capi
Avril 3 years ago
parent 7733ada38b
commit f193acd2ea
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -154,10 +154,13 @@ install:
install -m 644 $(wildcard $(INCLUDE)/*.*) $(DESTDIR)$(PREFIX)/include/ install -m 644 $(wildcard $(INCLUDE)/*.*) $(DESTDIR)$(PREFIX)/include/
install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/ install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/ install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/
install -d $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
install -m 644 $(wildcard $(INCLUDE)/$(PROJECT)/internal/*.*) $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
uninstall: uninstall:
-rm $(DESTDIR)$(PREFIX)/lib/lib$(PROJECT).{a,so{,.*}} -rm $(DESTDIR)$(PREFIX)/lib/lib$(PROJECT).{a,so{,.*}}
cd $(INCLUDE) && find . -type f | xargs -I {} rm "$(DESTDIR)$(PREFIX)/include/{}" cd $(INCLUDE) && find . -type f | xargs -I {} rm "$(DESTDIR)$(PREFIX)/include/{}"
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)/internal
-rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT) -rmdir $(DESTDIR)$(PREFIX)/include/$(PROJECT)
$(PROJECT)-test: lib$(PROJECT).so $(PROJECT)-test: lib$(PROJECT).so

@ -9,7 +9,7 @@
#ifndef _RNGXX_IMPL #ifndef _RNGXX_IMPL
#define _RNGXX_COMMON_MINIMAL #define _RNGXX_COMMON_MINIMAL
#endif #endif
#include "rngxx/common.h" #include "rngxx/internal/common.h"
#ifndef _RNGXX_IMPL #ifndef _RNGXX_IMPL
#undef _RNGXX_COMMON_MINIMAL #undef _RNGXX_COMMON_MINIMAL
#endif #endif

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "../common.h" #include "internal/common.h"
#include <rng.h> #include <rng.h>
#include "../mem.h" #include "internal/mem.h"
namespace rng namespace rng
{ {

@ -0,0 +1 @@
../include/rngxx/internal

@ -1 +0,0 @@
../../include/rngxx/common.h
Loading…
Cancel
Save