The make code fragment at
http://www.gnu.org/software/automake/manual/html_node/Extending.html#Extending
does not work as expected if you use --program-suffix=-hdr :



     install-exec-hook:
             cd $(DESTDIR)$(bindir) && \
               mv -f prog$(EXEEXT) prog-$(VERSION)$(EXEEXT) && \
               $(LN_S) prog-$(VERSION)$(EXEEXT) prog$(EXEEXT)


error:

mv: cannot stat `./animate': No such file or directory
mv: cannot stat `./compare': No such file or directory
mv: cannot stat `./composite': No such file or directory

Could you please correct the example code and explain us how to be compatible?



Reply via email to