File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ override_dh_auto_test:
2424 @echo " tests are disabled"
2525
2626override_dh_auto_install :
27- make install
27+ make install_libhermit
2828
2929 # delete unneded files that would cause conflicts
3030 rm -rf ` -pwd` /debian/libhermit/opt/hermit/share/info/dir
Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ C_source = $(wildcard *.c)
66NAME = libircce.a
77OBJS = $(C_source:.c=.o )
88
9+ prefix = @prefix@
10+ INSTALL = @INSTALL@
11+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
12+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
13+ INSTALL_DATA = @INSTALL_DATA@
14+
915#
1016# Prettify output
1117V = 0
@@ -27,8 +33,8 @@ $(NAME): $(OBJS)
2733 $Q $(AR_FOR_TARGET ) $(ARFLAGS_FOR_TARGET ) $@ $(OBJS )
2834
2935install :
30- $Q $(CP ) $(NAME ) $(PREFIX ) /$(CROSSPREFIX ) /lib
31- $Q $(CP ) * .h $(PREFIX ) /$(CROSSPREFIX ) /include
36+ $Q $(INSTALL_DATA ) $(NAME ) $(prefix ) /$(CROSSPREFIX ) /lib
37+ $Q $(INSTALL_DATA ) * .h $(prefix /$(CROSSPREFIX ) /include
3238
3339clean :
3440 @echo Cleaning examples
You can’t perform that action at this time.
0 commit comments