install-so: install-headers
install-headers:
	$(INSTALL_DATA) $(srcdir)/rbgdk.h $(RUBYARCHDIR)
	$(INSTALL_DATA) $(srcdir)/rbgdkconversions.h $(RUBYARCHDIR)
	$(INSTALL_DATA) $(srcdir)/rbgtk.h $(RUBYARCHDIR)
	$(INSTALL_DATA) $(srcdir)/rbgtkconversions.h $(RUBYARCHDIR)
	$(INSTALL_DATA) $(srcdir)/rbgtkmacros.h $(RUBYARCHDIR)

install: install-pc
install-pc:
	if test -n "$(pkgconfigdir)"; then			\
	  $(MAKEDIRS) $(pkgconfigdir);				\
	  $(INSTALL_DATA) ruby-gtk2.pc $(pkgconfigdir);		\
	fi
