mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-06-10 18:29:28 +00:00
Makefile:
- in the install and release targets, ensure that the installed header file is of type SRC/CC, otherwise subsequent compilations may fail.
This commit is contained in:
parent
79cc150685
commit
3d887aa334
|
@ -51,6 +51,7 @@ install:
|
||||||
install -d $(INCDIR) $(LIBDIR)
|
install -d $(INCDIR) $(LIBDIR)
|
||||||
install sane.h $(INCDIR)
|
install sane.h $(INCDIR)
|
||||||
install $(LIB) $(LIBDIR)
|
install $(LIB) $(LIBDIR)
|
||||||
|
chtyp -lcc $(INCDIR)/sane.h
|
||||||
|
|
||||||
MI_LIBDIR = $(RELEASE_DIR)/lib
|
MI_LIBDIR = $(RELEASE_DIR)/lib
|
||||||
MI_INCDIR = $(RELEASE_DIR)/usr/include
|
MI_INCDIR = $(RELEASE_DIR)/usr/include
|
||||||
|
@ -63,6 +64,7 @@ release: $(LIB) sane.h saneglue.3 mkso.data
|
||||||
install sane.h $(MI_INCDIR)
|
install sane.h $(MI_INCDIR)
|
||||||
install saneglue.3 $(MI_MANDIR)
|
install saneglue.3 $(MI_MANDIR)
|
||||||
install mkso.data $(MI_INSTALL)/mkso.lsaneglue
|
install mkso.data $(MI_INSTALL)/mkso.lsaneglue
|
||||||
|
chtyp -lcc $(MI_INCDIR)/sane.h
|
||||||
|
|
||||||
findfpcp.o:: findfpcp.mac
|
findfpcp.o:: findfpcp.mac
|
||||||
saneglue.o:: saneglue.mac
|
saneglue.o:: saneglue.mac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user