Changeset 3129 in orxonox.OLD for orxonox/branches/images
- Timestamp:
- Dec 7, 2004, 8:54:09 PM (20 years ago)
- Location:
- orxonox/branches/images/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/images/importer/Makefile.in
r3105 r3129 1 # Makefile.in generated by automake 1.8. 5from Makefile.am.1 # Makefile.in generated by automake 1.8.2 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 42 42 subdir = importer 43 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 44 $(srcdir)/Makefile.in 44 $(srcdir)/Makefile.in TODO 45 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 46 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac … … 50 50 CONFIG_HEADER = $(top_builddir)/config.h 51 51 CONFIG_CLEAN_FILES = 52 am__installdirs = "$(DESTDIR)$(bindir)"52 am__installdirs = $(DESTDIR)$(bindir) 53 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 54 54 PROGRAMS = $(bin_PROGRAMS) … … 206 206 install-binPROGRAMS: $(bin_PROGRAMS) 207 207 @$(NORMAL_INSTALL) 208 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"208 $(mkdir_p) $(DESTDIR)$(bindir) 209 209 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 210 210 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ … … 212 212 ; then \ 213 213 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ 214 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \215 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f"|| exit 1; \214 echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \ 215 $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f || exit 1; \ 216 216 else :; fi; \ 217 217 done … … 221 221 @list='$(bin_PROGRAMS)'; for p in $$list; do \ 222 222 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ 223 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \224 rm -f "$(DESTDIR)$(bindir)/$$f"; \223 echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ 224 rm -f $(DESTDIR)$(bindir)/$$f; \ 225 225 done 226 226 … … 281 281 $(AWK) ' { files[$$0] = 1; } \ 282 282 END { for (i in files) print i; }'`; \ 283 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 284 test -n "$$unique" || unique=$$empty_fix; \ 285 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 286 $$tags $$unique; \ 287 fi 283 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 284 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 285 $$tags $$unique 288 286 ctags: CTAGS 289 287 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ … … 340 338 all-am: Makefile $(PROGRAMS) $(HEADERS) 341 339 installdirs: 342 for dir in "$(DESTDIR)$(bindir)"; do \ 343 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 344 done 340 $(mkdir_p) $(DESTDIR)$(bindir) 345 341 install: install-am 346 342 install-exec: install-exec-am -
orxonox/branches/images/importer/material.cc
r3128 r3129 58 58 return; 59 59 } 60 61 if (access (pName, F_OK) == 0) 60 char* tmpPName = new char[strlen(pName)]; 61 strncpy(tmpPName, pName, strlen(pName)-1); 62 63 if (access (tmpPName, F_OK) == 0) 62 64 { 63 65 struct stat status; 64 stat( pName, &status);66 stat(tmpPName, &status); 65 67 if (status.st_mode & S_IFDIR) 66 68 { … … 79 81 if (verbose >=1) 80 82 printf ("You tried to add non-existing folder %s to a PathList.\n", pName); 83 delete []tmpPName; 81 84 } 82 85
Note: See TracChangeset
for help on using the changeset viewer.